Skip to content

Commit 634c6a1

Browse files
authored
Update actions to use actions/checkout@v3 and actions/setup-python@v4. (#495)
The "[run tests](https://github.com/MIT-LCP/wfdb-python/blob/main/.github/workflows/run-tests.yml)" GitHub workflow is raising [several warnings](https://github.com/MIT-LCP/wfdb-python/actions/runs/9783079800) about deprecated actions: e.g. > `[build (ubuntu-latest, 3.9)](https://github.com/MIT-LCP/wfdb-python/actions/runs/9783079800/job/27011340622) The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/[build (ubuntu-latest, 3.9)](https://github.com/MIT-LCP/wfdb-python/actions/runs/9783079800/job/27011340622) The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2, actions/setup-python@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/` This pull request updates the actions to the latest versions: - actions/checkout@v2 -> actions/checkout@v3 - actions/setup-python@v2 -> actions/setup-python@v4 Note there is one outdated action that will need addressing at some point. As of today, the issue does not appear to have been addressed: actions/checkout#334 ``` # Note: "actions/checkout@v2" requires libstdc++6:amd64 to be # installed in the container. To keep things simple, use # "actions/checkout@v1" instead. # actions/checkout#334 ```
2 parents 13df748 + 8606bbe commit 634c6a1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/run-tests.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
os: [windows-latest, ubuntu-latest, macos-latest]
2020
python-version: ["3.8", "3.9", "3.10", "3.11"]
2121
steps:
22-
- uses: actions/checkout@v2
22+
- uses: actions/checkout@v3
2323
- name: Set up Python ${{ matrix.python-version }}
24-
uses: actions/setup-python@v2
24+
uses: actions/setup-python@v4
2525
with:
2626
python-version: ${{ matrix.python-version }}
2727
- name: Install dependencies
@@ -69,7 +69,7 @@ jobs:
6969
build-documentation:
7070
runs-on: ubuntu-20.04
7171
steps:
72-
- uses: actions/checkout@v2
72+
- uses: actions/checkout@v3
7373
- name: Install dependencies
7474
run: |
7575
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)