diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index c4f3a6c..432e873 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -11,7 +11,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: rustup --quiet default stable --component clippy + - run: rustup --quiet toolchain stable --profile=minimal --component=clippy,rustfmt + - run: rustup --quiet default stable - run: cargo fmt --check - run: cargo fetch --quiet --locked - run: cargo clippy --quiet --frozen --workspace --all-targets -- -D warnings @@ -21,7 +22,8 @@ jobs: runs-on: ubuntu-24.04 steps: - uses: actions/checkout@v4 - - run: rustup --quiet default 1.71 --component clippy + - run: rustup --quiet toolchain 1.71 --profile=minimal --component=clippy,rustfmt + - run: rustup --quiet default 1.71 - run: cargo fetch --quiet --locked - run: cargo clippy --quiet --frozen --workspace --all-targets -- -D warnings - run: cargo xtask