update codecov action (node 12 is deprecated) (#1830)

This commit is contained in:
mmetc 2022-10-24 12:48:25 +02:00 committed by GitHub
parent ac6e0c1b89
commit 7b4f300eb2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 4 deletions

View file

@ -68,13 +68,13 @@ jobs:
if: ${{ always() }}
- name: Upload crowdsec coverage to codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
files: ./tests/local/var/lib/coverage/coverage-crowdsec.out
flags: func-crowdsec
- name: Upload cscli coverage to codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
files: ./tests/local/var/lib/coverage/coverage-cscli.out
flags: func-cscli

View file

@ -45,7 +45,7 @@ jobs:
cat out.txt | sed 's/ *coverage:.*of statements in.*//' | richgo testfilter
- name: Upload unit coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
files: coverage.out
flags: unit-windows

View file

@ -137,7 +137,7 @@ jobs:
| richgo testfilter
- name: Upload unit coverage to Codecov
uses: codecov/codecov-action@v2
uses: codecov/codecov-action@v3
with:
files: coverage.out
flags: unit-linux