From 3a654b36cc8f6042a72b29436f8adc6359483210 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20K=C3=B6hl?= Date: Thu, 12 Sep 2024 22:30:43 +0200 Subject: [PATCH] ci: make nightly toolchain available for linting --- .github/workflows/check-and-lint.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-and-lint.yml b/.github/workflows/check-and-lint.yml index 4bc40d8..2a59fd8 100644 --- a/.github/workflows/check-and-lint.yml +++ b/.github/workflows/check-and-lint.yml @@ -15,13 +15,13 @@ jobs: - name: Cargo Deny uses: EmbarkStudios/cargo-deny-action@v1 - - name: Clippy - run: cargo +nightly clippy --all-targets --all-features - - name: Install Nightly Toolchain uses: dtolnay/rust-toolchain@nightly with: components: clippy, rustfmt + - name: Clippy + run: cargo +nightly clippy --all-targets --all-features + - name: Format run: cargo +nightly fmt --check