Skip to content

Commit

Permalink
Explicitly setup Rust when checking formatting in pr-main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Matej Almasi committed Dec 9, 2024
1 parent d0a49cf commit 94c186b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pr-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,5 +161,11 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup Rust
uses: actions-rust-lang/setup-rust-toolchain@v1
with:
toolchain: nightly
components: rustfmt

- name: Clippy lint
run: cargo clippy -- -D warnings

0 comments on commit 94c186b

Please sign in to comment.