Skip to content

Commit

Permalink
GitHub: Fix rust workflow
Browse files Browse the repository at this point in the history
Add llvm-tools first and build using aarch64-unknown-linux-gnu target.

Signed-off-by: Elliot Berman <[email protected]>
  • Loading branch information
eberman-quic committed Dec 18, 2024
1 parent 1832bb9 commit caa6750
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Clippy
run: cargo clippy --all-targets --all-features
- name: Setup build
run: rustup component add llvm-tools
- name: Build binary
uses: houseabsolute/actions-rust-cross@v0
with:
target: aarch64-unknown-linux-gnu
command: clippy
args: --all-targets --all-features
- name: Run Format
run: cargo fmt --all -- --check

0 comments on commit caa6750

Please sign in to comment.