Skip to content

Commit 841b61d

Browse files
committed
ci: update GitHub Actions workflows
- Update CodeQL GitHub Actions from v2 to v3 in codeql.yaml workflow - Update the GitHub Actions cache from v3 to v4 in go.yml workflow - Update the Codecov GitHub Action from v3 to v4 in go.yml workflow Signed-off-by: appleboy <[email protected]>
1 parent cdbf1cb commit 841b61d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/codeql.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141

4242
# Initializes the CodeQL tools for scanning.
4343
- name: Initialize CodeQL
44-
uses: github/codeql-action/init@v2
44+
uses: github/codeql-action/init@v3
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@v2
53+
uses: github/codeql-action/analyze@v3

.github/workflows/go.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ jobs:
5656
with:
5757
ref: ${{ github.ref }}
5858

59-
- uses: actions/cache@v3
59+
- uses: actions/cache@v4
6060
with:
6161
path: |
6262
${{ matrix.go-build }}
@@ -73,6 +73,6 @@ jobs:
7373
go test -v -run=^$ -count 5 -benchmem -bench . ./...
7474
7575
- name: Upload coverage to Codecov
76-
uses: codecov/codecov-action@v3
76+
uses: codecov/codecov-action@v4
7777
with:
7878
flags: ${{ matrix.os }},go-${{ matrix.go }}

0 commit comments

Comments
 (0)