Skip to content

Commit f0cabfa

Browse files
committed
chore: update GitHub Actions versions in workflows
- Update the version of `actions/checkout` in `.github/workflows/codeql.yml` - Update the version of `actions/setup-go` in `.github/workflows/go.yml` - Update the version of `actions/checkout` and `actions/setup-go` in `.github/workflows/go.yml` - Update the version of `actions/checkout`, `actions/setup-go`, and `goreleaser/goreleaser-action` in `.github/workflows/goreleaser.yml` Signed-off-by: Bo-Yi Wu <[email protected]>
1 parent 3efe466 commit f0cabfa

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

.github/workflows/codeql.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838

3939
steps:
4040
- name: Checkout repository
41-
uses: actions/checkout@v3
41+
uses: actions/checkout@v4
4242

4343
# Initializes the CodeQL tools for scanning.
4444
- name: Initialize CodeQL

.github/workflows/go.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ jobs:
1313
runs-on: ubuntu-latest
1414
steps:
1515
- name: Setup go
16-
uses: actions/setup-go@v3
16+
uses: actions/setup-go@v5
1717
with:
1818
go-version: '^1.16'
1919
- name: Checkout repository
20-
uses: actions/checkout@v3
20+
uses: actions/checkout@v4
2121
- name: Setup golangci-lint
2222
uses: golangci/golangci-lint-action@v3
2323
with:
@@ -39,12 +39,12 @@ jobs:
3939
GOPROXY: https://proxy.golang.org
4040
steps:
4141
- name: Set up Go ${{ matrix.go }}
42-
uses: actions/setup-go@v3
42+
uses: actions/setup-go@v5
4343
with:
4444
go-version: ${{ matrix.go }}
4545

4646
- name: Checkout Code
47-
uses: actions/checkout@v3
47+
uses: actions/checkout@v4
4848
with:
4949
ref: ${{ github.ref }}
5050

.github/workflows/goreleaser.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,17 @@ jobs:
1414
steps:
1515
-
1616
name: Checkout
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818
with:
1919
fetch-depth: 0
2020
-
2121
name: Set up Go
22-
uses: actions/setup-go@v2
22+
uses: actions/setup-go@v5
2323
with:
2424
go-version: 1.17
2525
-
2626
name: Run GoReleaser
27-
uses: goreleaser/goreleaser-action@v3
27+
uses: goreleaser/goreleaser-action@v5
2828
with:
2929
# either 'goreleaser' (default) or 'goreleaser-pro'
3030
distribution: goreleaser

0 commit comments

Comments
 (0)