Skip to content

Commit

Permalink
use codecov official action
Browse files Browse the repository at this point in the history
  • Loading branch information
zetaab committed Apr 4, 2024
1 parent 037b5e9 commit 93c1dca
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@ jobs:
run: mage go:unitTest

- name: Upload test coverage to codecov
uses: elisa-actions/codecov-action@v4-elisa
uses: codecov/codecov-action@v4
with:
url: https://codecov.csf.elisa.fi
flags: unit
files: ./target/tests/cover/unit/cover.txt
use_oidc: true

- name: Lint
run: mage go:lint
3 changes: 2 additions & 1 deletion .github/workflows/pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,12 @@ jobs:
run: mage go:unitTest

- name: Upload test coverage to codecov
uses: elisa-actions/codecov-action@v4-elisa
uses: codecov/codecov-action@v4
with:
url: https://codecov.csf.elisa.fi
flags: unit
files: ./target/tests/cover/unit/cover.txt
use_oidc: true

- name: Lint
run: mage go:lint
Expand Down

0 comments on commit 93c1dca

Please sign in to comment.