Skip to content

Commit 7a5692d

Browse files
saitcakmakmeta-codesync[bot]
authored andcommitted
Bump codecov-action to v5 (Node.js 24 support) (#3315)
Summary: `codecov/codecov-action@v4` runs on the deprecated Node.js 20 runtime, which triggers a CI warning: > Node.js 20 actions are deprecated. ... Actions will be forced to run with Node.js 24 by default starting June 16th, 2026. This bumps the action to `v5`, which runs on Node.js 24. ## Details - Only change is `.github/workflows/reusable_test.yml`: `codecov/codecov-action@v4` → `v5`. - The inputs used (`token`, `files`, `fail_ci_if_error`) remain valid in v5, so no other changes are required. Pull Request resolved: #3315 Test Plan: - Coverage upload step runs on the next CI run (Linux, Python 3.11) and should no longer emit the Node.js 20 deprecation warning. Reviewed By: dme65 Differential Revision: D107386990 Pulled By: saitcakmak fbshipit-source-id: 634902bfb1396c62f4dd6c18c37287d180ce3611
1 parent 5e7b3ac commit 7a5692d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/reusable_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
pytest -ra test_community/ --cov botorch_community/ --cov-report term-missing --cov-report xml:botorch_community_cov.xml
5252
- name: Upload coverage
5353
if: ${{ inputs.upload_coverage && runner.os == 'Linux' && matrix.python-version == 3.11 }}
54-
uses: codecov/codecov-action@v4
54+
uses: codecov/codecov-action@v5
5555
with:
5656
fail_ci_if_error: true
5757
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)