ci: update setup-go to v5

This commit is contained in:
Marc 2024-02-01 00:57:30 -05:00
parent 4468a70870
commit 096ff162e9
Signed by: marc
GPG key ID: 048E042F22B5DC79

View file

@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-go@v4 - uses: actions/setup-go@v5
with: with:
go-version: ${{ env.GO_VERSION }} go-version: ${{ env.GO_VERSION }}
- run: . script/test.sh - run: . script/test.sh
@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-go@v4 - uses: actions/setup-go@v5
with: with:
go-version: ${{ env.GO_VERSION }} go-version: ${{ env.GO_VERSION }}
- run: . script/format.sh - run: . script/format.sh
@ -35,7 +35,7 @@ jobs:
V_ROOT: /tmp/v V_ROOT: /tmp/v
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-go@v4 - uses: actions/setup-go@v5
with: with:
go-version: ${{ env.GO_VERSION }} go-version: ${{ env.GO_VERSION }}
- run: . integration/install_specific_version.sh - run: . integration/install_specific_version.sh
@ -48,7 +48,7 @@ jobs:
dist: ["darwin_amd64", "darwin_arm64", "linux_amd64"] dist: ["darwin_amd64", "darwin_arm64", "linux_amd64"]
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: actions/setup-go@v4 - uses: actions/setup-go@v5
with: with:
go-version: ${{ env.GO_VERSION }} go-version: ${{ env.GO_VERSION }}
- run: PROD=$PROD GOOS=${DIST%_*} GOARCH=${DIST#*_} . script/build.sh - run: PROD=$PROD GOOS=${DIST%_*} GOARCH=${DIST#*_} . script/build.sh