Skip to content

Commit f3d0b41

Browse files
appleboyclaude
andcommitted
ci(actions): upgrade GitHub Actions to latest versions
- Upgrade actions/setup-go from v5 to v6 - Upgrade codecov/codecov-action from v5 to v6 - Upgrade goreleaser/goreleaser-action from v6 to v7 - Upgrade actions/checkout from v4 to v6 - Upgrade github/codeql-action from v3 to v4 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c6b37b3 commit f3d0b41

3 files changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/codeql.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ jobs:
3737

3838
steps:
3939
- name: Checkout repository
40-
uses: actions/checkout@v4
40+
uses: actions/checkout@v6
4141

4242
# Initializes the CodeQL tools for scanning.
4343
- name: Initialize CodeQL
44-
uses: github/codeql-action/init@v3
44+
uses: github/codeql-action/init@v4
4545
with:
4646
languages: ${{ matrix.language }}
4747
# If you wish to specify custom queries, you can do so here or in a config file.
@@ -50,4 +50,4 @@ jobs:
5050
# queries: ./path/to/local/query, your-org/your-repo/queries@main
5151

5252
- name: Perform CodeQL Analysis
53-
uses: github/codeql-action/analyze@v3
53+
uses: github/codeql-action/analyze@v4

.github/workflows/go.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
with:
2727
ref: ${{ github.ref }}
2828
- name: Setup go
29-
uses: actions/setup-go@v5
29+
uses: actions/setup-go@v6
3030
with:
3131
go-version-file: "go.mod"
3232
check-latest: true
@@ -56,7 +56,7 @@ jobs:
5656
GOPROXY: https://proxy.golang.org
5757
steps:
5858
- name: Set up Go ${{ matrix.go }}
59-
uses: actions/setup-go@v5
59+
uses: actions/setup-go@v6
6060
with:
6161
go-version: ${{ matrix.go }}
6262

@@ -82,6 +82,6 @@ jobs:
8282
go test -v -run=^$ -count 5 -benchmem -bench . ./...
8383
8484
- name: Upload coverage to Codecov
85-
uses: codecov/codecov-action@v5
85+
uses: codecov/codecov-action@v6
8686
with:
8787
flags: ${{ matrix.os }},go-${{ matrix.go }}

.github/workflows/goreleaser.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@ jobs:
1717
with:
1818
fetch-depth: 0
1919
- name: Set up Go
20-
uses: actions/setup-go@v5
20+
uses: actions/setup-go@v6
2121
with:
2222
go-version: "^1"
2323
- name: Run GoReleaser
24-
uses: goreleaser/goreleaser-action@v6
24+
uses: goreleaser/goreleaser-action@v7
2525
with:
2626
# either 'goreleaser' (default) or 'goreleaser-pro'
2727
distribution: goreleaser

0 commit comments

Comments
 (0)