From 7b4f300eb240400a5c94f3db582fa10664c735ec Mon Sep 17 00:00:00 2001 From: mmetc <92726601+mmetc@users.noreply.github.com> Date: Mon, 24 Oct 2022 12:48:25 +0200 Subject: [PATCH] update codecov action (node 12 is deprecated) (#1830) --- .github/workflows/bats-sqlite-coverage.yml | 4 ++-- .github/workflows/go-tests-windows.yml | 2 +- .github/workflows/go-tests.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/bats-sqlite-coverage.yml b/.github/workflows/bats-sqlite-coverage.yml index af8271cce..36d2a112f 100644 --- a/.github/workflows/bats-sqlite-coverage.yml +++ b/.github/workflows/bats-sqlite-coverage.yml @@ -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 diff --git a/.github/workflows/go-tests-windows.yml b/.github/workflows/go-tests-windows.yml index e5529114d..b2dc48cc3 100644 --- a/.github/workflows/go-tests-windows.yml +++ b/.github/workflows/go-tests-windows.yml @@ -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 diff --git a/.github/workflows/go-tests.yml b/.github/workflows/go-tests.yml index de1e757a0..982880f99 100644 --- a/.github/workflows/go-tests.yml +++ b/.github/workflows/go-tests.yml @@ -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