Skip to content

Commit a60e800

Browse files
author
sacha
committed
Take the workflows off node20 entirely
checkout v5 to v7, and setup-uv v6 to v10.0.1. v6 was the last action still targeting node20, which GitHub warned about on every run. setup-uv is pinned exactly rather than to a major: astral stopped publishing moving major tags after v7, so there is no v10 to follow. Both inputs the workflows use, enable-cache and python-version, still exist in v10.
1 parent 458b136 commit a60e800

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ jobs:
99
lint:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- uses: actions/checkout@v5
13-
- uses: astral-sh/setup-uv@v6
12+
- uses: actions/checkout@v7
13+
- uses: astral-sh/setup-uv@v10.0.1
1414
with:
1515
enable-cache: true
1616
- run: uv sync --locked
@@ -26,8 +26,8 @@ jobs:
2626
env:
2727
UV_PYTHON: ${{ matrix.python-version }}
2828
steps:
29-
- uses: actions/checkout@v5
30-
- uses: astral-sh/setup-uv@v6
29+
- uses: actions/checkout@v7
30+
- uses: astral-sh/setup-uv@v10.0.1
3131
with:
3232
enable-cache: true
3333
python-version: ${{ matrix.python-version }}

‎.github/workflows/publish.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
# Required for PyPI trusted publishing: no API token to store as a secret.
1212
id-token: write
1313
steps:
14-
- uses: actions/checkout@v5
15-
- uses: astral-sh/setup-uv@v6
14+
- uses: actions/checkout@v7
15+
- uses: astral-sh/setup-uv@v10.0.1
1616
- run: uv build
1717
- run: uv publish --trusted-publishing always

0 commit comments

Comments
 (0)