From ab563964033b6dc619ab02652bc4d578926147eb Mon Sep 17 00:00:00 2001 From: cbrgm <24737434+cbrgm@users.noreply.github.com> Date: Wed, 14 Aug 2024 07:18:01 +0000 Subject: [PATCH] chore: update to Go v1.23, update golangci-lint to v1.60.1 --- .anvil.lock | 4 ++-- .github/workflows/container.yml | 2 +- .github/workflows/go-binaries.yml | 2 +- .github/workflows/go-lint-test.yml | 4 ++-- .golangci.yml | 4 ++-- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.anvil.lock b/.anvil.lock index e09fc85..64f17a4 100644 --- a/.anvil.lock +++ b/.anvil.lock @@ -1,6 +1,6 @@ { - "generated_at": "2024-07-12T18:15:41.296882854Z", - "version": "1.2.19", + "generated_at": "2024-08-14T07:18:01.362363836Z", + "version": "1.2.20", "files": [ { "path": ".editorconfig" diff --git a/.github/workflows/container.yml b/.github/workflows/container.yml index 873e7a6..94ce808 100644 --- a/.github/workflows/container.yml +++ b/.github/workflows/container.yml @@ -49,7 +49,7 @@ jobs: id: golang uses: actions/setup-go@v5 with: - go-version: ^1.22 + go-version: ^1.23 check-latest: true - name: Run generate diff --git a/.github/workflows/go-binaries.yml b/.github/workflows/go-binaries.yml index 3cb328b..e44cdfc 100644 --- a/.github/workflows/go-binaries.yml +++ b/.github/workflows/go-binaries.yml @@ -28,7 +28,7 @@ jobs: id: golang uses: actions/setup-go@v5 with: - go-version: ^1.22 + go-version: ^1.23 check-latest: true - name: Run generate diff --git a/.github/workflows/go-lint-test.yml b/.github/workflows/go-lint-test.yml index 165c90d..76478ef 100644 --- a/.github/workflows/go-lint-test.yml +++ b/.github/workflows/go-lint-test.yml @@ -26,14 +26,14 @@ jobs: id: golang uses: actions/setup-go@v5 with: - go-version: ^1.22 + go-version: ^1.23 check-latest: true - name: install golangci uses: giantswarm/install-binary-action@v3.0.0 with: binary: "golangci-lint" - version: "1.59.1" + version: "1.60.1" 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 831ea02..f020ac0 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -2,13 +2,13 @@ # https://github.com/golangci/golangci/wiki/Configuration service: # use the fixed version to not introduce new linters unexpectedly - golangci-lint-version: 1.59.1 + golangci-lint-version: 1.60.1 run: # golang-ci lint runtime timeout deadline: 5m # latest supported Go version - go: '1.22' + go: '1.23' # see: https://golangci-lint.run/usage/configuration/ modules-download-mode: readonly # include test files or not.