From 305b57af1c27437040b44f2f2471498ff491700a Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Fri, 6 May 2022 20:50:15 -0700 Subject: [PATCH] Match components in CI to rust-toolchain.toml file --- .github/workflows/ci.yml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3512e00..e474805 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -35,6 +35,8 @@ jobs: steps: - uses: actions/checkout@v3 - uses: dtolnay/rust-toolchain@1.31.0 + with: + components: rust-src - run: cargo check clippy: @@ -43,7 +45,9 @@ jobs: if: github.event_name != 'pull_request' steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@clippy + - uses: dtolnay/rust-toolchain@nightly + with: + components: clippy, rust-src - run: cargo clippy --tests -- -Dclippy::all -Dclippy::pedantic miri: @@ -51,7 +55,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: dtolnay/rust-toolchain@miri + - uses: dtolnay/rust-toolchain@nightly + with: + components: miri, rust-src - run: cargo miri test env: MIRIFLAGS: -Zmiri-strict-provenance