diff --git a/.golangci.yml b/.golangci.yml index f092d5cf..d02a8da4 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -95,7 +95,7 @@ linters-settings: - name: useless-break disabled: false staticcheck: - go: '~1.20.8' + go: '~1.21.7' # https://staticcheck.io/docs/options#checks checks: - "all" diff --git a/scripts/lint.sh b/scripts/lint.sh index b203abd8..3b9bff27 100755 --- a/scripts/lint.sh +++ b/scripts/lint.sh @@ -21,7 +21,7 @@ fi TESTS=${TESTS:-"golangci_lint"} function test_golangci_lint { - go install -v github.com/golangci/golangci-lint/cmd/golangci-lint@v1.51.2 + go install -v github.com/golangci/golangci-lint/cmd/golangci-lint@v1.56.2 golangci-lint run --config .golangci.yml }