Skip to content

Commit 16aeaf5

Browse files
committed
CI: Explicitly install the stable toolchain, ignore mise
This should fix the CI in that it will install the full stable rust toolchain. Right now we have no current stable toolchain on the machine and rely on cargo implicitly installing it in the minimal profile when running `cargo xtask`. We can not rely on mise to do the right thing here: Apparently it finds rustup installed and considers the rust configuration to be met, independent of whether the stable toolchain is up to date or not..
1 parent 78b29cc commit 16aeaf5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/autofix.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ jobs:
3131
with:
3232
version: 2025.9.18
3333
log_level: debug
34+
- name: Install rust dependencies
35+
run: rustup toolchain install stable-x86_64-unknown-linux-gnu --profile default
3436
- name: Run fixes
3537
run: mise run --force --jobs=1 'ci:autofix:fix'
3638
- name: Suggest format changes
@@ -45,5 +47,7 @@ jobs:
4547
with:
4648
version: 2025.9.18
4749
log_level: debug
50+
- name: Install rust dependencies
51+
run: rustup toolchain install stable-x86_64-unknown-linux-gnu --profile default
4852
- name: Run lints
4953
run: mise run --force --jobs=1 'ci:autofix:lint'

0 commit comments

Comments
 (0)