Skip to content

Commit cdf3977

Browse files
committed
Cleanup CI workflows
1 parent 5aa9ec4 commit cdf3977

3 files changed

Lines changed: 7 additions & 21 deletions

File tree

.github/workflows/lint.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,14 @@ on:
77
- master
88

99
env:
10-
PYTHON_VERSION: 3.12
10+
UV_PYTHON: 3.14
1111

1212
jobs:
1313
lint:
1414
runs-on: ubuntu-latest
1515

1616
steps:
1717
- uses: actions/checkout@v6
18-
- name: Set up Python ${{ env.PYTHON_VERSION }}
19-
uses: actions/setup-python@v5
20-
with:
21-
python-version: ${{ env.PYTHON_VERSION }}
2218
- name: Install uv
2319
uses: astral-sh/setup-uv@v7
2420
- name: Install dependencies

.github/workflows/publish.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,6 @@ jobs:
1515

1616
steps:
1717
- uses: actions/checkout@v6
18-
- name: Set up Python
19-
uses: actions/setup-python@v5
20-
with:
21-
python-version: 3.12
2218
- name: Install uv
2319
uses: astral-sh/setup-uv@v7
2420
- name: Build distributions

.github/workflows/tests.yml

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,10 @@ jobs:
2727
ports:
2828
- 5432:5432
2929

30+
env:
31+
UV_PYTHON: ${{ matrix.python-version }}
3032
steps:
3133
- uses: actions/checkout@v6
32-
- name: Set up Python ${{ matrix.python-version }}
33-
uses: actions/setup-python@v5
34-
with:
35-
python-version: ${{ matrix.python-version }}
3634
- name: Install uv
3735
uses: astral-sh/setup-uv@v7
3836
- name: Install dependencies
@@ -51,12 +49,10 @@ jobs:
5149
matrix:
5250
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
5351

52+
env:
53+
UV_PYTHON: ${{ matrix.python-version }}
5454
steps:
5555
- uses: actions/checkout@v6
56-
- name: Set up Python ${{ matrix.python-version }}
57-
uses: actions/setup-python@v5
58-
with:
59-
python-version: ${{ matrix.python-version }}
6056
- name: Install uv
6157
uses: astral-sh/setup-uv@v7
6258
- name: Install dependencies
@@ -73,12 +69,10 @@ jobs:
7369
matrix:
7470
python-version: ['3.10', '3.11', '3.12', '3.13', '3.14']
7571

72+
env:
73+
UV_PYTHON: ${{ matrix.python-version }}
7674
steps:
7775
- uses: actions/checkout@v6
78-
- name: Set up Python ${{ matrix.python-version }}
79-
uses: actions/setup-python@v5
80-
with:
81-
python-version: ${{ matrix.python-version }}
8276
- name: Install uv
8377
uses: astral-sh/setup-uv@v7
8478
- name: Install dependencies

0 commit comments

Comments
 (0)