Skip to content

Commit

Permalink
Use binstall to reduce runtime of job
Browse files Browse the repository at this point in the history
  • Loading branch information
bitfl0wer committed Oct 11, 2024
1 parent 10973cc commit c7dd3ef
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/rust-clippy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,13 @@ jobs:
with:
components: clippy

- name: Install required cargo
run: cargo install clippy-sarif sarif-fmt
- name: cargo binstall
run: curl -L --proto '=https' --tlsv1.3 -sSf https://raw.githubusercontent.com/cargo-bins/cargo-binstall/main/install-from-binstall-release.sh | bash

- name: Install required utils
run: |
cargo binstall clippy-sarif --no-confirm --force
cargo binstall sarif-fmt --no-confirm --force
- uses: Swatinem/rust-cache@v2
with:
Expand Down

0 comments on commit c7dd3ef

Please sign in to comment.