GitHub: Fix rust workflow #3
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: Rust check | |
# Make sure CI fails on all warnings, including Clippy lints | |
env: | |
RUSTFLAGS: "-Dwarnings" | |
jobs: | |
clippy_check: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup build | |
run: rustup component add llvm-tools | |
- name: Run Clippy | |
run: cargo clippy --all-targets --all-features --target aarch64-unknown-linux-gnu | |
- name: Run Format | |
run: cargo fmt --all -- --check |