diff --git a/.github/workflows/pr-main.yml b/.github/workflows/pr-main.yml index 9b9e0e0..562fc2a 100644 --- a/.github/workflows/pr-main.yml +++ b/.github/workflows/pr-main.yml @@ -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