Skip to content

Commit

Permalink
ci: update GitHub Actions workflows
Browse files Browse the repository at this point in the history
- 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]>
  • Loading branch information
appleboy committed Feb 12, 2024
1 parent cdbf1cb commit 841b61d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:

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

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
with:
ref: ${{ github.ref }}

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
${{ matrix.go-build }}
Expand All @@ -73,6 +73,6 @@ jobs:
go test -v -run=^$ -count 5 -benchmem -bench . ./...
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
flags: ${{ matrix.os }},go-${{ matrix.go }}

0 comments on commit 841b61d

Please sign in to comment.