Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- name: Check that CI and pre-commit pin the same ruff version
run: |
Expand Down Expand Up @@ -68,9 +68,9 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: "3.12"
cache: pip
Expand Down Expand Up @@ -102,9 +102,9 @@ jobs:
# red build is never down to the luck of the draw. Run pytest locally to explore.
PYTEST_ADDOPTS: --hypothesis-seed=0
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: ${{ matrix.python-version }}
cache: pip
Expand All @@ -125,7 +125,7 @@ jobs:

- name: Upload coverage report
if: ${{ !cancelled() && matrix.python-version == '3.12' }}
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: coverage-xml
path: coverage.xml
Expand All @@ -138,9 +138,9 @@ jobs:
env:
PYTEST_ADDOPTS: --hypothesis-seed=0 # see the test job
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: "3.10"
cache: pip
Expand All @@ -159,9 +159,9 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: "3.12"

Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: "3.12"
cache: pip
Expand All @@ -48,7 +48,7 @@ jobs:

- name: Upload the site as Pages artifact
if: github.event_name != 'pull_request'
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@v5
with:
path: site

Expand All @@ -67,4 +67,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v5
6 changes: 3 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,9 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7

- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: "3.12"
cache: pip
Expand All @@ -53,7 +53,7 @@ jobs:
# A new key is saved whenever the tests (and with them the models they use)
# change; the restore key reuses the previous download in that case.
- name: Cache Hugging Face models
uses: actions/cache@v4
uses: actions/cache@v6
with:
path: ~/.cache/huggingface
key: huggingface-${{ runner.os }}-${{ hashFiles('tests/**/*.py', 'tests/data/**') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,14 @@ jobs:
outputs:
released: ${{ steps.flag.outputs.released }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v7
with:
fetch-depth: 0
ref: ${{ github.event.workflow_run.head_branch || github.ref_name }}
# a token that may push to the protected branch (see the header), else the default one
token: ${{ secrets.RELEASE_TOKEN || github.token }}

- uses: actions/setup-python@v5
- uses: actions/setup-python@v7
with:
python-version: "3.12"

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

- name: Upload dist artifacts
if: steps.flag.outputs.released == 'true'
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v7
with:
name: dist
path: dist/
Expand All @@ -153,7 +153,7 @@ jobs:
permissions:
id-token: write
steps:
- uses: actions/download-artifact@v4
- uses: actions/download-artifact@v8
with:
name: dist
path: dist/
Expand Down
Loading