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 6a3b275 commit fa5fc30
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,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 Trivy
Expand Down Expand Up @@ -76,7 +76,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 Ko
Expand Down Expand Up @@ -162,7 +162,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
3 changes: 1 addition & 2 deletions .github/workflows/cleanup-nightly-assets.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
run: |
WORK_DIR=`mktemp -d -p "$DIR"`
gh release download nightly -D ${WORK_DIR}
ASSETS_TOTAL=$(ls $WORK_DIR | wc -l)
echo "[INFO] Currently ${ASSETS_TOTAL} assets for nightly release"
Expand All @@ -48,4 +48,3 @@ jobs:
rm -rf "$WORK_DIR"
echo "[INFO] Deleted temporary directory ${WORK_DIR}"
1 change: 1 addition & 0 deletions .github/workflows/mirror-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jobs:
library/golang:1.19 \
library/golang:1.20 \
library/golang:1.21 \
library/golang:1.22 \
library/maven:3-jdk-8-openj9 \
library/node:12 \
library/node:14 \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: 1.22.x
cache: true
check-latest: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
fetch-depth: 0 # Fetch all history, needed for release note generation.
- uses: actions/setup-go@v5
with:
go-version: '1.21.x'
go-version: 1.22.x
cache: true
check-latest: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/verify.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,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
cache-dependency-path: go/src/github.com/shipwright-io/build
Expand Down

0 comments on commit fa5fc30

Please sign in to comment.