Skip to content

Commit ab43521

Browse files
committed
ci: update GitHub Actions workflows to latest action versions
- Update actions/checkout to version 6 in workflow files - Upgrade golangci-lint-action to version 9 - Bump actions/cache to version 5 Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
1 parent 4cccd71 commit ab43521

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/go.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Checkout Code
25-
uses: actions/checkout@v5
25+
uses: actions/checkout@v6
2626
with:
2727
ref: ${{ github.ref }}
2828
- name: Setup go
@@ -31,7 +31,7 @@ jobs:
3131
go-version-file: "go.mod"
3232
check-latest: true
3333
- name: Setup golangci-lint
34-
uses: golangci/golangci-lint-action@v8
34+
uses: golangci/golangci-lint-action@v9
3535
with:
3636
version: v2.1
3737
args: --verbose
@@ -61,11 +61,11 @@ jobs:
6161
go-version: ${{ matrix.go }}
6262

6363
- name: Checkout Code
64-
uses: actions/checkout@v5
64+
uses: actions/checkout@v6
6565
with:
6666
ref: ${{ github.ref }}
6767

68-
- uses: actions/cache@v4
68+
- uses: actions/cache@v5
6969
with:
7070
path: |
7171
${{ matrix.go-build }}

.github/workflows/goreleaser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Checkout
16-
uses: actions/checkout@v5
16+
uses: actions/checkout@v6
1717
with:
1818
fetch-depth: 0
1919
- name: Set up Go

0 commit comments

Comments
 (0)