02386ae5748e84d52006c95a82d113557443ae04
- Author
- Ayman Bagabas <ayman.bagabas@gmail.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
fix(ci): setup go before lint
Diff
1diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
2index 38e49e8f6ff022911a2b78e61b839ae82312c44c..5e96efe53fb66c29a6ac89df81161e106f870f95 100644
3--- a/.github/workflows/lint.yml
4+++ b/.github/workflows/lint.yml
5@@ -9,10 +9,13 @@ jobs:
6 runs-on: ubuntu-latest
7 steps:
8 - uses: actions/checkout@v3
9+ - uses: actions/setup-go@v4
10+ with:
11+ go-version: ^1
12 - name: golangci-lint
13 uses: golangci/golangci-lint-action@v3
14 with:
15 # Optional: golangci-lint command line arguments.
16 args: --issues-exit-code=0
17 # Optional: show only new issues if it's a pull request. The default value is `false`.
18- only-new-issues: true
19+ only-new-issues: true