Skip to content

Commit

Permalink
Match components in CI to rust-toolchain.toml file
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed May 7, 2022
1 parent 6195232 commit 305b57a
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ jobs:
steps:
- uses: actions/checkout@v3
- uses: dtolnay/[email protected]
with:
components: rust-src
- run: cargo check

clippy:
Expand All @@ -43,15 +45,19 @@ 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:
name: Miri
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
Expand Down

0 comments on commit 305b57a

Please sign in to comment.