Skip to content

Commit

Permalink
fix: upgrade ci Go version (#1782)
Browse files Browse the repository at this point in the history
## What kind of change does this PR introduce?

[Support for Go 1.21 has ended](https://endoflife.date/go). Also for
certainty that we don't have cases where the CI build passes (v1.21) but
doesn't work with 1.22.

Setup Go v4 and v3 [seem to use
node16](https://github.com/actions/setup-go) and supported has ended for
that so decided to upgrade
  • Loading branch information
J0 authored Oct 3, 2024
1 parent 85d400a commit 97a48f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@ jobs:
echo "RELEASE_CANDIDATE=${RELEASE_CANDIDATE}" >> "${GITHUB_OUTPUT}"
echo "RELEASE_NAME=${RELEASE_NAME}" >> "${GITHUB_OUTPUT}"
- uses: actions/setup-go@v3
- uses: actions/setup-go@v5
if: ${{ steps.release.outputs.release_created == 'true' || steps.release.outputs.prs_created == 'true' }}
with:
go-version: "^1.21.0" # The Go version to download (if necessary) and use.
go-version: "^1.22.0" # The Go version to download (if necessary) and use.

- name: Build release artifacts
if: ${{ steps.release.outputs.release_created == 'true' || steps.release.outputs.prs_created == 'true' }}
Expand Down

0 comments on commit 97a48f6

Please sign in to comment.