Skip to content

Commit

Permalink
Merge pull request containerd#11185 from dmcgowan/update-golangci
Browse files Browse the repository at this point in the history
Update golangci to 1.60.3
  • Loading branch information
dmcgowan authored Dec 20, 2024
2 parents f36ae08 + 26a156f commit 23500b8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
- uses: ./.github/actions/install-go
- uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
with:
version: v1.60.1
version: v1.60.3
skip-cache: true
args: --timeout=8m

Expand Down
3 changes: 2 additions & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
linters:
enable:
- depguard # Checks for dependencies that should not be (re)introduced. See "linter-settings" for further details.
- exportloopref # Checks for pointers to enclosing loop variables
# - copyloopvar # Checks for loop variable copies in Go 1.22+
- gofmt
- goimports
- gosec
Expand Down Expand Up @@ -73,6 +73,7 @@ linters-settings:
- G306
- G402
- G404
- G115
nolintlint:
allow-unused: true

Expand Down

0 comments on commit 23500b8

Please sign in to comment.