Skip to content

Commit

Permalink
test pin sha for golangci lint and action
Browse files Browse the repository at this point in the history
  • Loading branch information
ArturRibeiro-CX committed Sep 11, 2024
1 parent 5af59c6 commit 8c0e597
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/go-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
go-version-file: go.mod
cache: false
- name: golangci-lint
uses: golangci/golangci-lint-action@a4f60bb28d35aeee14e6880718e0c85ff1882e64 # v6.0.1
uses: golangci/golangci-lint-action@aaa42aa0628b4ae2578232a66b541047968fac86 # v6.1.0
with:
version: v1.57.2
args: -c .golangci.yml --timeout 20m
Expand Down
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ linters-settings:
gocyclo:
min-complexity: 15
goimports:
local-prefixes: github.com/golangci/golangci-lint
local-prefixes: github.com/golangci/golangci-lint@a1d6c560de1a193a0c68ffed68cd5928ef39e884
gomnd:
# don't include the "operation" and "assign"
checks:
Expand Down

0 comments on commit 8c0e597

Please sign in to comment.