Skip to content

Commit

Permalink
Upgrade GH actions to use Node 20 features instead of 16 (#48)
Browse files Browse the repository at this point in the history
GH Actions have deprecated the use of Node 16, since it has reached
the end of its lifetime. Consequently, the outdated actions should
be upgraded. In case of Picire, the checkout and setup-python
actions need to be updated (v4 for checkout and v5 for
setup-python).
  • Loading branch information
akosthekiss authored Aug 26, 2024
1 parent 139d290 commit 79dd57f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
python-version: [3.8, 3.9, '3.10', '3.11', '3.12', 'pypy-3.9']
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- run: pip install --upgrade tox
Expand All @@ -21,10 +21,10 @@ jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- run: pip install --upgrade tox
Expand All @@ -33,10 +33,10 @@ jobs:
cov:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- run: pip install --upgrade tox coveralls
Expand All @@ -49,10 +49,10 @@ jobs:
needs: [test, lint]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.x'
- run: pip install --upgrade tox
Expand Down

0 comments on commit 79dd57f

Please sign in to comment.