Skip to content

Commit 31e0ee4

Browse files
committed
ci: refactor CI workflows and improve robustness
- Update GitHub Actions workflows to use `setup-go@v5` instead of `setup-go@v4` Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
1 parent 96e1c92 commit 31e0ee4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/go.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Setup go
25-
uses: actions/setup-go@v4
25+
uses: actions/setup-go@v5
2626
with:
2727
go-version: "^1"
2828
- name: Checkout repository
@@ -47,7 +47,7 @@ jobs:
4747
GOPROXY: https://proxy.golang.org
4848
steps:
4949
- name: Set up Go ${{ matrix.go }}
50-
uses: actions/setup-go@v4
50+
uses: actions/setup-go@v5
5151
with:
5252
go-version: ${{ matrix.go }}
5353

.github/workflows/goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
with:
1818
fetch-depth: 0
1919
- name: Set up Go
20-
uses: actions/setup-go@v4
20+
uses: actions/setup-go@v5
2121
with:
2222
go-version: "^1"
2323
- name: Run GoReleaser

0 commit comments

Comments
 (0)