Skip to content

Commit

Permalink
Freeze Go version for golangci-lint (#83)
Browse files Browse the repository at this point in the history
Latest version of Go (v1.18) breaks the golangci-lint versions <= v1.45
  • Loading branch information
rustycl0ck committed Apr 15, 2022
1 parent 84b5af1 commit 2385cbb
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-go@v2
with:
## golang v1.18 breaks golangci-lint <= v1.45
## ref: https://github.com/golangci/golangci-lint/issues/2374#issuecomment-1069029422
go-version: '1.17'
- name: golangci-lint
uses: golangci/golangci-lint-action@v2
uses: golangci/golangci-lint-action@v3
with:
version: v1.44.0

0 comments on commit 2385cbb

Please sign in to comment.