Update .github/workflows/rust.yml
Rust / build (push) Successful in 32s

This commit is contained in:
vextrixes committed 2026-11-03 01:09:50 +01:00
1 parent c45e2bc807
commit d2c6c67bac
1 file changed
+13 -6
+13 -6
View File
@@ -20,15 +20,22 @@ jobs:
steps:
# - uses: actions/checkout@v4
- name: install cargo
run: apt update -y && apt install rustup -y
- name: Install Rust
run: rustup toolchain install stable --profile minimal
run: |
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs \
| sh -s -- -y --profile minimal --default-toolchain stable --component clippy
echo "$HOME/.cargo/bin" >> "$GITHUB_PATH"
"$HOME/.cargo/bin/rustup" show
"$HOME/.cargo/bin/cargo" --version
- name: Check out code
uses: actions/checkout@v4
- name: Build
run: cargo build --verbose --all-features
run: cargo +stable build --verbose --all-features
- name: Run clippy
run: cargo clippy --verbose --all-features
run: cargo +stable clippy --verbose --all-features
- name: Run tests
run: cargo test --verbose --all-features
run: cargo +stable test --verbose --all-features