Skip to content

Commit

Permalink
Add Machete to rust build to find unused crates
Browse files Browse the repository at this point in the history
  • Loading branch information
ollej committed Sep 23, 2023
1 parent 2d832c1 commit b258a8f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ jobs:
echo "[target.x86_64-pc-windows-gnu]" >> ~/.cargo/config
echo "linker = \"/usr/bin/x86_64-w64-mingw32-gcc\"" >> ~/.cargo/config
- uses: Swatinem/rust-cache@v2
- uses: actions-rs/cargo@v1
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --all-targets --target=${{ matrix.config.target }}
- name: Machete
uses: bnjbvr/cargo-machete@main

0 comments on commit b258a8f

Please sign in to comment.