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 Jul 29, 2024
1 parent ebc4b09 commit 7a70e1e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: ci/github

on:
on:
pull_request:
branches:
branches:
- main
- "release-v*" # release branches
push:
branches:
branches:
- main
- "release-v*" # release branches

Expand All @@ -22,7 +22,7 @@ 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: Build
Expand All @@ -37,7 +37,7 @@ 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: Verify fmt
Expand Down Expand Up @@ -69,7 +69,7 @@ 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: Install kubectl
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ 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
- uses: sigstore/cosign-installer@v3
Expand Down

0 comments on commit 7a70e1e

Please sign in to comment.