From 8d915530344a491f92532cc109b26293ee3f025e Mon Sep 17 00:00:00 2001 From: Ilija Pavlic Date: Thu, 4 Jul 2024 22:27:24 -0400 Subject: [PATCH] Use Codecov v4 action, and use a token for upload --- .github/workflows/ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5c6a17f..107ab2b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -46,9 +46,10 @@ jobs: run: sf apex run test --synchronous --code-coverage --result-format human --output-dir ./tests/apex - name: Upload code coverage - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: flags: Apex + token: ${{ secrets.CODECOV_TOKEN }} - name: Delete scratch org if: always()