Skip to content

Commit

Permalink
bump golangci-lint to v1.61
Browse files Browse the repository at this point in the history
Signed-off-by: cpanato <ctadeu@gmail.com>
  • Loading branch information
cpanato committed Oct 9, 2024
1 parent 87ee676 commit 0ed2ffd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
with:
version: v1.60
version: v1.61
args: --timeout=5m

golangci-test-e2e:
Expand All @@ -58,5 +58,5 @@ jobs:
- name: golangci-lint
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
with:
version: v1.60
version: v1.61
args: --timeout=5m --build-tags e2e ./test
2 changes: 1 addition & 1 deletion .github/workflows/validate-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
# - https://github.com/actions/runner/issues/2033
# - https://github.com/actions/checkout/issues/1048
# - https://github.com/actions/runner-images/issues/6775
# - run: git config --system --add safe.directory /__w/cosign/cosign
- run: git config --system --add safe.directory /__w/cosign/cosign

# Related to https://github.com/sigstore/cosign/issues/3149
# note this runs from within the golang-cross container, so if we want to free up space
Expand Down
3 changes: 3 additions & 0 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,9 @@ linters-settings:
- 'os\.Getenv.*'
- 'os\.LookupEnv.*'
exclude-godoc-examples: false
gosec:
excludes:
- G115 # integer overflow conversion int64 -> uint64
output:
uniq-by-line: false
issues:
Expand Down

0 comments on commit 0ed2ffd

Please sign in to comment.