Skip to content

Commit 7f04df2

Browse files
committed
Use actions/setup-go
Since it's version 6.1 it supports dowbnloading from go.dev which should ensure we always can get the newest Go version installed.
1 parent 8bf4718 commit 7f04df2

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
with:
2626
path: ${{env.workdir}}
2727
- name: Install Go ${{ needs.go-version.outputs.minimal }}
28-
uses: WillAbides/setup-go[email protected]
28+
uses: actions/setup-go@v6
2929
with:
3030
go-version: ${{ needs.go-version.outputs.minimal }}
3131
- run: go version
@@ -48,10 +48,9 @@ jobs:
4848
steps:
4949
- uses: actions/checkout@v6
5050
- name: Install Go ${{ matrix.go-version }}
51-
uses: WillAbides/setup-go[email protected]
51+
uses: actions/setup-go@v6
5252
with:
5353
go-version: ${{ matrix.go-version }}.x
54-
ignore-local: true
5554
- run: go version
5655
- name: go test
5756
env:

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- uses: arnested/go-version-action@v1
3232
id: go-version
3333
- name: Install Go ${{ steps.go-version.outputs.minimal }}
34-
uses: WillAbides/setup-go[email protected]
34+
uses: actions/setup-go@v6
3535
with:
3636
go-version: ${{ steps.go-version.outputs.minimal }}
3737
- run: go version

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,9 @@ jobs:
2929
DEFAULT_BUMP: patch
3030
DEFAULT_BRANCH: ${{ github.event.repository.default_branch }}
3131
- name: Set up Go ${{ steps.go-version.outputs.latest }}
32-
uses: WillAbides/setup-go[email protected]
32+
uses: actions/setup-go@v6
3333
with:
3434
go-version: ${{ steps.go-version.outputs.latest }}.x
35-
ignore-local: true
3635
- run: go version
3736
- name: Install changelog management tool
3837
run: go install github.com/goreleaser/chglog/cmd/chglog@main

0 commit comments

Comments
 (0)