From 94c186b7821233789e4c69fbe3e504d65384e1fe Mon Sep 17 00:00:00 2001 From: Matej Almasi <¨almasi.mato@gmail.com¨> Date: Mon, 9 Dec 2024 20:52:28 +0100 Subject: [PATCH] Explicitly setup Rust when checking formatting in pr-main.yml --- .github/workflows/pr-main.yml | 6 ++++++ 1 file changed, 6 insertions(+) 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