Skip to content

Commit

Permalink
ci: improve GitHub Actions and Codecov Setup
Browse files Browse the repository at this point in the history
- Update GitHub Actions cache step to use version 4
- Update Codecov GitHub Action to version 4

Signed-off-by: appleboy <[email protected]>
  • Loading branch information
appleboy committed Feb 12, 2024
1 parent 24c0a92 commit 920e1ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ jobs:
with:
ref: ${{ github.ref }}

- uses: actions/cache@v3
- uses: actions/cache@v4
with:
path: |
${{ matrix.go-build }}
Expand All @@ -61,6 +61,6 @@ jobs:
go test -v -covermode=atomic -coverprofile=coverage.out
- 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 920e1ca

Please sign in to comment.