Skip to content

Commit 7e580bc

Browse files
github/workflows: update GitHub actions to latest versions
Fixes deprecation warnings such as: Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/. When bumping codecov/codecov-action v3 to v4, we run into [1]. The changes needed for this change [2] are not clear, yet. Let's stick to the previous version for now. [1] codecov/codecov-action#1274 [2] https://about.codecov.io/blog/january-product-update-updating-the-codecov-ci-uploaders-to-the-codecov-cli/ Signed-off-by: Bastian Krause <[email protected]>
1 parent 91c7e9c commit 7e580bc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/build-and-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
with:
1212
fetch-depth: 0
1313
- name: Set up Python
14-
uses: actions/setup-python@v4
14+
uses: actions/setup-python@v5
1515
with:
1616
python-version: "3.11"
1717
- name: Install python dependencies

.github/workflows/reusable-unit-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ jobs:
1919
with:
2020
ref: ${{ inputs.branch }}
2121
- name: Set up Python ${{ inputs.python-version }}
22-
uses: actions/setup-python@v4
22+
uses: actions/setup-python@v5
2323
with:
2424
python-version: ${{ inputs.python-version }}
25-
- uses: actions/cache@v3
25+
- uses: actions/cache@v4
2626
with:
2727
path: ~/.cache/pip
2828
key: ${{ runner.os }}-pip-${{ hashFiles('pyproject.toml') }}

0 commit comments

Comments
 (0)