diff --git a/.github/actions/setup/action.yaml b/.github/actions/setup/action.yaml index efafbb13e..7f77f7e15 100644 --- a/.github/actions/setup/action.yaml +++ b/.github/actions/setup/action.yaml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4c0785cec..79541b4b2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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: @@ -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}" diff --git a/go.mod b/go.mod index aa3244cfb..734c61223 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,7 @@ module github.com/shipwright-io/cli -go 1.21 +go 1.22 + toolchain go1.22.5 require (