From b81e74e1a214f2be6562dceadba10abc460d568d Mon Sep 17 00:00:00 2001 From: cbrgm <24737434+cbrgm@users.noreply.github.com> Date: Wed, 13 Mar 2024 11:50:52 +0000 Subject: [PATCH] deps: update golangci-lint to v1.56.2, check latest Go version in GitHub wokflows --- .anvil.lock | 2 +- .github/workflows/container.yml | 1 + .github/workflows/go-binaries.yml | 1 + .github/workflows/go-lint-test.yml | 3 ++- .golangci.yml | 2 +- 5 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.anvil.lock b/.anvil.lock index c2f719a..61a8b72 100644 --- a/.anvil.lock +++ b/.anvil.lock @@ -1,5 +1,5 @@ { - "generated_at": "2024-03-13T11:44:26.871120701Z", + "generated_at": "2024-03-13T11:50:51.541372622Z", "version": "1.2.10", "files": [ { diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 86c58a9..e704858 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -50,6 +50,7 @@ jobs: uses: actions/setup-go@v5 with: go-version: ^1.22 + check-latest: true - name: Run generate id: generate diff --git a/.github/workflows/go-binaries.yml b/.github/workflows/go-binaries.yml index bf6ca1f..3cb328b 100644 --- a/.github/workflows/go-binaries.yml +++ b/.github/workflows/go-binaries.yml @@ -29,6 +29,7 @@ jobs: uses: actions/setup-go@v5 with: go-version: ^1.22 + check-latest: true - name: Run generate id: generate diff --git a/.github/workflows/go-lint-test.yml b/.github/workflows/go-lint-test.yml index 017aa55..5d8f85b 100644 --- a/.github/workflows/go-lint-test.yml +++ b/.github/workflows/go-lint-test.yml @@ -27,12 +27,13 @@ jobs: uses: actions/setup-go@v5 with: go-version: ^1.22 + check-latest: true - name: install golangci uses: giantswarm/install-binary-action@v2.0.0 with: binary: "golangci-lint" - version: "1.54.1" + version: "1.56.2" download_url: "https://github.com/golangci/golangci-lint/releases/download/v${version}/golangci-lint-${version}-linux-amd64.tar.gz" tarball_binary_path: "*/${binary}" smoke_test: "${binary} --version" diff --git a/.golangci.yml b/.golangci.yml index 6efdd98..b64b3ab 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -2,7 +2,7 @@ # https://github.com/golangci/golangci/wiki/Configuration service: # use the fixed version to not introduce new linters unexpectedly - golangci-lint-version: 1.54.1 + golangci-lint-version: 1.56.2 run: # golang-ci lint runtime timeout