Compare commits
No commits in common. "main" and "v0.2.0" have entirely different histories.
1 changed files with 7 additions and 6 deletions
|
|
@ -34,13 +34,14 @@ jobs:
|
||||||
done
|
done
|
||||||
[ "$miss" = 0 ]
|
[ "$miss" = 0 ]
|
||||||
|
|
||||||
- name: Verify Rust toolchain
|
- name: Install Rust toolchain
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
if ! command -v rustup >/dev/null; then
|
||||||
# Use the host toolchain as is; CI must not update or change it.
|
curl -sSf https://sh.rustup.rs | sh -s -- -y --profile minimal
|
||||||
command -v cargo >/dev/null || { echo "::error::cargo is not installed on the runner"; exit 1; }
|
fi
|
||||||
cargo fmt --version
|
. "$HOME/.cargo/env" 2>/dev/null || true
|
||||||
cargo clippy --version
|
rustup toolchain install stable --profile minimal -c rustfmt -c clippy
|
||||||
|
rustup component add rustfmt clippy
|
||||||
cargo --version
|
cargo --version
|
||||||
|
|
||||||
- name: Cache cargo
|
- name: Cache cargo
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue