Skip to content

Commit

Permalink
CI: update actions to latest versions
Browse files Browse the repository at this point in the history
The older versions are based on Node 16 which is being deprecated.
  • Loading branch information
dnicolodi committed Mar 5, 2024
1 parent 8dd46ad commit 2daa991
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 13 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.push.tag || github.event.inputs.tag }}
- run: python -m pip install .[docs]
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up target Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}

Expand Down Expand Up @@ -119,7 +119,7 @@ jobs:
python -m pytest --showlocals -vv --cov --cov-report=xml
- name: Upload coverage report
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
if: ${{ always() }}

msvc:
Expand All @@ -134,10 +134,10 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Set up target Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}

Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Cygwin
uses: cygwin/cygwin-install-action@v2
Expand Down Expand Up @@ -207,7 +207,7 @@ jobs:
# Cygwin Python cannot use binary wheels from PyPI. Building
# some dependencies takes considerable time. Caching the built
# wheels speeds up the CI job quite a bit.
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.pip-cache-path.outputs.path }}
key: cygwin-pip-${{ github.sha }}
Expand Down Expand Up @@ -248,7 +248,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install pyston
run: |
Expand Down Expand Up @@ -282,7 +282,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Homebrew Python
run: |
Expand Down Expand Up @@ -311,10 +311,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Setup Python
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: 3.9

Expand Down

0 comments on commit 2daa991

Please sign in to comment.