Compare commits

...

1 commit
v0.2.0 ... main

Author SHA1 Message Date
f5bc78dbb6
ci: use the host Rust toolchain without updating it
All checks were successful
ci / check (push) Successful in 5m28s
2026-11-01 20:18:06 +01:00

View file

@ -34,14 +34,13 @@ jobs:
done done
[ "$miss" = 0 ] [ "$miss" = 0 ]
- name: Install Rust toolchain - name: Verify Rust toolchain
run: | run: |
if ! command -v rustup >/dev/null; then set -euo pipefail
curl -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal # Use the host toolchain as is; CI must not update or change it.
fi command -v cargo >/dev/null || { echo "::error::cargo is not installed on the runner"; exit 1; }
. "$HOME/.cargo/env" 2>/dev/null || true cargo fmt --version
rustup toolchain install stable --profile minimal -c rustfmt -c clippy cargo clippy --version
rustup component add rustfmt clippy
cargo --version cargo --version
- name: Cache cargo - name: Cache cargo