diff --git a/.github/workflows/lint-and-test.yml b/.github/workflows/lint-and-test.yml index 7fdc86743..be24b3990 100644 --- a/.github/workflows/lint-and-test.yml +++ b/.github/workflows/lint-and-test.yml @@ -182,7 +182,7 @@ jobs: # files: lcov.info # fail_ci_if_error: true - # Run cargo fmt --all -- --check + # Run cargo +nightly fmt --all -- --check format: name: Format runs-on: ubuntu-latest @@ -194,7 +194,7 @@ jobs: curl https://sh.rustup.rs -sSf | bash -s -- -y --profile minimal && source ~/.cargo/env && rustup default nightly rustup component add rustfmt - name: Run cargo fmt - run: cargo fmt --all -- --check + run: cargo +nightly fmt --all -- --check udeps: name: Unused Dependencies