Skip to content

Commit

Permalink
ci: Update action version
Browse files Browse the repository at this point in the history
Update CI action versions to be compatible with latest GH change:
https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/
  • Loading branch information
st-bender committed Mar 31, 2024
1 parent 343974b commit 9272fe9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/ci_build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ jobs:
python-version: "3.x"

steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
key: ${{ runner.os}}-pip-${{ matrix.python-version }}
path: ~/.cache/pip
Expand All @@ -38,7 +38,7 @@ jobs:
run: |
sudo apt-get update
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
uses: MatteoH2O1999/setup-python@v1
uses: MatteoH2O1999/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache-build: true
Expand All @@ -62,7 +62,7 @@ jobs:
- name: Convert coverage
run: python -m coverage xml
- name: Upload coverage report
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4

- name: Upload to Coveralls
if: startsWith(matrix.os, 'ubuntu') && matrix.python-version != '2.7'
Expand All @@ -78,7 +78,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: "3.9"
- name: Finish coverage collection
Expand All @@ -99,9 +99,9 @@ jobs:
# IMPORTANT: this permission is mandatory for trusted publishing
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install dependencies
Expand Down

0 comments on commit 9272fe9

Please sign in to comment.