Skip to content

Commit 11beaeb

Browse files
committed
simplify, try to fix msrv
1 parent fd113cc commit 11beaeb

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ on:
1010

1111
env:
1212
COLUMNS: 150
13+
UV_PYTHON: 3.13
1314

1415
jobs:
1516
coverage:
@@ -36,7 +37,7 @@ jobs:
3637
enable-cache: true
3738

3839
- name: install deps
39-
run: uv sync --python 3.13 --group testing
40+
run: uv sync --group testing
4041

4142
- run: rustc --version --verbose
4243

@@ -128,7 +129,7 @@ jobs:
128129
enable-cache: true
129130

130131
- name: install deps
131-
run: uv sync --python 3.13 --group testing
132+
run: uv sync --group testing
132133

133134
- run: uv pip install -e .
134135
env:
@@ -152,9 +153,12 @@ jobs:
152153
with:
153154
enable-cache: true
154155

156+
- name: install deps
157+
run: uv sync --group testing
158+
155159
- name: resolve MSRV
156160
id: resolve-msrv
157-
run: echo MSRV=`python -c 'import tomllib; print(tomllib.load(open("Cargo.toml", "rb"))["package"]["rust-version"])'` >> $GITHUB_OUTPUT
161+
run: echo MSRV=`uv run python -c 'import tomllib; print(tomllib.load(open("Cargo.toml", "rb"))["package"]["rust-version"])'` >> $GITHUB_OUTPUT
158162

159163
- name: install rust MSRV
160164
uses: dtolnay/rust-toolchain@master
@@ -164,9 +168,6 @@ jobs:
164168
- name: cache rust
165169
uses: Swatinem/rust-cache@v2
166170

167-
- name: install deps
168-
run: uv sync --python 3.13 --group testing
169-
170171
- run: uv pip install -e .
171172
env:
172173
RUST_BACKTRACE: 1
@@ -286,7 +287,7 @@ jobs:
286287

287288
- name: install deps
288289
run: |
289-
uv sync --python 3.13 --group linting
290+
uv sync --group linting
290291
make build-dev
291292
uv pip freeze
292293

0 commit comments

Comments
 (0)