From 40d084aea37ae73479703596dd1fbeed358d504a Mon Sep 17 00:00:00 2001 From: Sean Myers Date: Wed, 27 Nov 2024 02:36:49 -0800 Subject: [PATCH] chore: fix codecov upload failing from forks (#752) * Revert "chore(deps): bump codecov/codecov-action from 4 to 5 (#747)" This reverts commit 6c47b8b6f1e3ab6bcc3bb7aaadc6a532ea11b455. * use 4.5.0 See: https://github.com/codecov/codecov-action/issues/1594#issuecomment-2393562440 --------- Co-authored-by: Momo Kornher --- .github/workflows/status-checks.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/status-checks.yml b/.github/workflows/status-checks.yml index 24bd9e73..dd7af8b6 100644 --- a/.github/workflows/status-checks.yml +++ b/.github/workflows/status-checks.yml @@ -76,8 +76,8 @@ jobs: cargo llvm-cov report --hide-instantiations --ignore-filename-regex '^(tests/.*\.rs|.*/tests\.rs)$' --codecov --output-path target/codecov.json cargo llvm-cov report --hide-instantiations --ignore-filename-regex '^(tests/.*\.rs|.*/tests\.rs)$' --html --output-dir target/coverage cargo llvm-cov report --hide-instantiations --ignore-filename-regex '^(tests/.*\.rs|.*/tests\.rs)$' - - name: upload-codecov - uses: codecov/codecov-action@v5 + - name: Upload Coverage to CodeCov + uses: codecov/codecov-action@v4.5.0 with: use_oidc: true fail_ci_if_error: true