Skip to content

Commit

Permalink
Pin golangci-lint version (#67)
Browse files Browse the repository at this point in the history
* ping golanglint-ci version

pending golangci/golangci-lint-action#1091

* also disable exportloopref to avoid warning about it
  • Loading branch information
ldemailly authored Aug 23, 2024
1 parent 9444523 commit 3c210bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/gochecks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
run: curl -fsS -o .golangci.yml https://raw.githubusercontent.com/fortio/workflows/main/golangci.yml
- name: Run golangci-lint
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # pin@v6
with:
version: v1.60.3
- name: Run tests
run: |
go version
Expand Down
1 change: 1 addition & 0 deletions golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ linters:
# Deprecated ones:
- gomnd
- execinquery
- exportloopref
# Redundant ones:
- gofmt # we use gofumpt
# Weird/bad ones:
Expand Down

0 comments on commit 3c210bc

Please sign in to comment.