diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ae065b157..a495d685b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -58,10 +58,11 @@ jobs: env: DEVELOPER_DIR: ${{ env.CI_XCODE_LATEST }} - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: files: ${{join(fromJSON(steps.coverage-files.outputs.files), ',')}} fail_ci_if_error: false + token: ${{ secrets.CODECOV_TOKEN }} env: DEVELOPER_DIR: ${{ env.CI_XCODE_LATEST }} @@ -91,11 +92,12 @@ jobs: env: DEVELOPER_DIR: ${{ env.CI_XCODE_LATEST }} - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: files: ${{join(fromJSON(steps.coverage-files.outputs.files), ',')}} env_vars: SPM fail_ci_if_error: false + token: ${{ secrets.CODECOV_TOKEN }} env: DEVELOPER_DIR: ${{ env.CI_XCODE_LATEST }} @@ -126,7 +128,7 @@ jobs: cat .codecov.yml | curl --data-binary @- https://codecov.io/validate llvm-cov export -format="lcov" .build/x86_64-unknown-linux-gnu/debug/ParseSwiftPackageTests.xctest -instr-profile .build/x86_64-unknown-linux-gnu/debug/codecov/default.profdata > info_linux.lcov - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: env_vars: LINUX fail_ci_if_error: false @@ -145,10 +147,11 @@ jobs: run: | swift build -v - name: Upload coverage to Codecov - uses: codecov/codecov-action@v3 + uses: codecov/codecov-action@v4 with: env_vars: WINDOWSLATEST fail_ci_if_error: false + token: ${{ secrets.CODECOV_TOKEN }} docs: timeout-minutes: 10