Skip to content

Commit e50b6ca

Browse files
committed
Cleaned up workflows.
1 parent c785afa commit e50b6ca

3 files changed

Lines changed: 7 additions & 17 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,26 +12,19 @@ jobs:
1212
name: release
1313
permissions:
1414
id-token: write
15-
env:
16-
UV_SYSTEM_PYTHON: 1
1715
steps:
18-
- uses: actions/checkout@v5
16+
- uses: actions/checkout@v6
1917
with:
2018
persist-credentials: false
2119
fetch-depth: 0
22-
- name: Setup python
23-
uses: actions/setup-python@v6
24-
with:
25-
python-version: '3.14'
2620
- id: setup-uv
2721
name: Setup UV
2822
uses: astral-sh/setup-uv@v7
2923
with:
3024
enable-cache: true
31-
cache-suffix: '3.14'
25+
cache-suffix: "3.13"
3226
github-token: ${{ github.token }}
33-
version: "3.14"
34-
- run: uv version "${GITHUB_REF_NAME}"
27+
python-version: "3.13"
3528
- run: uv build
3629
- name: Release package
3730
env:

.github/workflows/release_docs.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
deploy_docs:
1414
runs-on: ubuntu-latest
1515
steps:
16-
- uses: actions/checkout@v5
16+
- uses: actions/checkout@v6
1717
with:
1818
persist-credentials: false
1919
fetch-depth: 0

.github/workflows/test.yml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
cmd: ["black", "ruff", "mypy"]
2323
runs-on: ubuntu-latest
2424
steps:
25-
- uses: actions/checkout@v5
25+
- uses: actions/checkout@v6
2626
with:
2727
persist-credentials: false
2828
fetch-depth: 0
@@ -47,21 +47,18 @@ jobs:
4747
env:
4848
UV_SYSTEM_PYTHON: 1
4949
steps:
50-
- uses: actions/checkout@v5
50+
- uses: actions/checkout@v6
5151
with:
5252
persist-credentials: false
5353
fetch-depth: 0
54-
- name: Setup python
55-
uses: actions/setup-python@v6
56-
with:
57-
python-version: '${{ matrix.py_version }}'
5854
- id: setup-uv
5955
name: Setup UV
6056
uses: astral-sh/setup-uv@v7
6157
with:
6258
enable-cache: true
6359
cache-suffix: ${{ matrix.py_version }}
6460
github-token: ${{ github.token }}
61+
python-version: '${{ matrix.py_version }}'
6562
version: "latest"
6663
- name: Install deps
6764
run: uv sync --all-extras

0 commit comments

Comments
 (0)