Skip to content

Commit

Permalink
Merge pull request #2 from mdm-code/fix-ci
Browse files Browse the repository at this point in the history
Fix codecov upload in CI
  • Loading branch information
mdm-code committed Jan 25, 2024
2 parents 4579e2b + ee72e2d commit 5c1e57f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
strategy:
matrix:
os: [ ubuntu-latest ]
go-version: [ '1.19', '1.21' ]
go-version: [ '1.21' ]
runs-on: ${{ matrix.os }}

steps:
Expand All @@ -34,5 +34,8 @@ jobs:
- name: Test
run: go test -v -coverprofile coverage.txt -covermode atomic ./...

- name: Coverage
uses: codecov/codecov-action@v2.1.0
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true

0 comments on commit 5c1e57f

Please sign in to comment.