From 1c24faa3c9cd932c7ee93710fb257407bbe30c8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandor=20Sz=C3=BCcs?= Date: Tue, 17 Oct 2023 12:05:17 +0200 Subject: [PATCH] fix: GH actions run an outdated Go version, trying to fix as stated in https://github.com/actions/setup-go/tree/main#check-latest-version MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Sandor Szücs --- .github/workflows/gh-packages.yaml | 3 ++- .github/workflows/master.yaml | 3 ++- .github/workflows/pr.yaml | 6 ++++-- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/gh-packages.yaml b/.github/workflows/gh-packages.yaml index be4552d1d5..4da0cf3805 100644 --- a/.github/workflows/gh-packages.yaml +++ b/.github/workflows/gh-packages.yaml @@ -28,7 +28,8 @@ jobs: - uses: actions/setup-go@bfd2fb341f32be7281829126376a12a780ca79fc with: # https://www.npmjs.com/package/semver#caret-ranges-123-025-004 - go-version: '^1.20' + go-version: '^1.21' + check-latest: true - name: Login to Github Container Registry uses: docker/login-action@343f7c4344506bcbf9b4de18042ae17996df046d diff --git a/.github/workflows/master.yaml b/.github/workflows/master.yaml index 2f40024b36..a99cc90970 100644 --- a/.github/workflows/master.yaml +++ b/.github/workflows/master.yaml @@ -16,7 +16,8 @@ jobs: - uses: actions/setup-go@bfd2fb341f32be7281829126376a12a780ca79fc with: # https://www.npmjs.com/package/semver#caret-ranges-123-025-004 - go-version: '^1.20' + go-version: '^1.21' + check-latest: true - run: go version - run: make deps - run: make check-fmt diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index 5f126f02ee..9567ffac7a 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -23,7 +23,8 @@ jobs: - uses: actions/setup-go@bfd2fb341f32be7281829126376a12a780ca79fc with: # https://www.npmjs.com/package/semver#caret-ranges-123-025-004 - go-version: '^1.20' + go-version: '^1.21' + check-latest: true - run: go version - run: make deps - run: make check-race @@ -34,7 +35,8 @@ jobs: - uses: actions/setup-go@bfd2fb341f32be7281829126376a12a780ca79fc with: # https://www.npmjs.com/package/semver#caret-ranges-123-025-004 - go-version: '^1.20' + go-version: '^1.21' + check-latest: true - run: go version - run: make deps - run: make check-fmt