diff --git a/.github/workflows/build-test.yml b/.github/workflows/build-test.yml index 6be42d2..70f9e98 100644 --- a/.github/workflows/build-test.yml +++ b/.github/workflows/build-test.yml @@ -23,7 +23,7 @@ jobs: - name: golangci-lint uses: golangci/golangci-lint-action@v3 with: - version: v1.50 + version: v1.52.2 args: -c .golangci.yml --timeout=5m -v - name: Install dependencies diff --git a/.golangci.yml b/.golangci.yml index c92d1da..d72b096 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -34,6 +34,6 @@ linters: - whitespace service: - golangci-lint-version: 1.50.x # use the fixed version to not introduce new linters unexpectedly + golangci-lint-version: 1.52.2 # use the fixed version to not introduce new linters unexpectedly prepare: - echo "here I can run custom commands, but no preparation needed for this repo" \ No newline at end of file diff --git a/Makefile b/Makefile index b0c07a1..a610f3e 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ default: init init: go mod download - go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.49.0 + go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.52.2 go install golang.org/x/tools/go/analysis/passes/fieldalignment/cmd/fieldalignment@latest clean: