Update golangci to 1.60.3
Signed-off-by: Derek McGowan <derek@mcg.dev>
This commit is contained in:
parent
88aa2f531d
commit
5942b3fcba
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@ -33,7 +33,7 @@ jobs:
|
|||||||
- uses: ./.github/actions/install-go
|
- uses: ./.github/actions/install-go
|
||||||
- uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
|
- uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1
|
||||||
with:
|
with:
|
||||||
version: v1.60.1
|
version: v1.60.3
|
||||||
skip-cache: true
|
skip-cache: true
|
||||||
args: --timeout=8m
|
args: --timeout=8m
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
linters:
|
linters:
|
||||||
enable:
|
enable:
|
||||||
- depguard # Checks for dependencies that should not be (re)introduced. See "linter-settings" for further details.
|
- 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
|
- gofmt
|
||||||
- goimports
|
- goimports
|
||||||
- gosec
|
- gosec
|
||||||
@ -73,6 +73,7 @@ linters-settings:
|
|||||||
- G306
|
- G306
|
||||||
- G402
|
- G402
|
||||||
- G404
|
- G404
|
||||||
|
- G115
|
||||||
nolintlint:
|
nolintlint:
|
||||||
allow-unused: true
|
allow-unused: true
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user