Skip to content

Commit

Permalink
fix: GH actions run an outdated Go version, trying to fix as stated in
Browse files Browse the repository at this point in the history
…https://github.com/actions/setup-go/tree/main#check-latest-version (#2688)

Signed-off-by: Sandor Szücs <sandor.szuecs@zalando.de>
  • Loading branch information
szuecs committed Oct 17, 2023
1 parent a05ac5f commit 21b58f6
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/gh-packages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/master.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 21b58f6

Please sign in to comment.