Skip to content

Commit 0e110fe

Browse files
committed
refactor: use action to upload codecov
Unlike the bash command the action is guaranteed to be Windows compatible.
1 parent 105f5a0 commit 0e110fe

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,6 @@ jobs:
3636
STRUCTURIZR_API_KEY: ${{ secrets.STRUCTURIZR_API_KEY }}
3737
STRUCTURIZR_API_SECRET: ${{ secrets.STRUCTURIZR_API_SECRET }}
3838
- name: Report coverage
39-
run: bash <(curl -f https://codecov.io/bash)
39+
uses: codecov/codecov-action@v1
40+
with:
41+
fail_ci_if_error: true

0 commit comments

Comments
 (0)