diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 155e9a24..4e871b94 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -17,6 +17,6 @@ jobs: - name: Build run: go build ./... - name: Install Linters - run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.58.1" + run: "curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.59.1" - name: Test and Lint run: ./run_tests.sh diff --git a/.golangci.yml b/.golangci.yml index f79c3b87..e2dea0c4 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -14,6 +14,7 @@ linters: - errorlint - exhaustive - exportloopref + - fatcontext - goconst - godot - gofmt @@ -22,8 +23,10 @@ linters: - govet - ineffassign - makezero + - mirror - misspell - nilerr + - nilnil - nosprintfhostport - prealloc - predeclared @@ -33,6 +36,6 @@ linters: - tparallel - typecheck - unconvert + - usestdlibvars - unparam - unused - - vetshadow