Skip to content

Commit

Permalink
Use Go 1.22 in GitHub Actions
Browse files Browse the repository at this point in the history
Use latest Go version `1.22` for any Go related GitHub Action.
  • Loading branch information
HeavyWombat committed Oct 21, 2024
1 parent 2529680 commit caf7ac5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ runs:
steps:
- uses: actions/setup-go@v3
with:
go-version: 1.21.x
go-version: 1.22.x
cache: true
check-latest: true
- uses: ko-build/setup-ko@v0.6
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
previous-tag:
description: 'Previous release tag'
required: true
git-ref:
git-ref:
description: 'Git reference for the release. Use an appropriate release-v* branch, tag, or commit SHA.'
required: true
jobs:
Expand All @@ -29,10 +29,10 @@ jobs:
- name: Install Go
uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: 1.22.x
cache: true
check-latest: true

- name: Tag release
run: |
git config --global user.name "${GITHUB_ACTOR}"
Expand Down
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module github.com/shipwright-io/cli

go 1.21
go 1.22

toolchain go1.22.5

require (
Expand Down

0 comments on commit caf7ac5

Please sign in to comment.