From 5ccc98edc818056afe32c619f45d69ce7226428d Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 11 Dec 2021 12:32:27 -0800 Subject: [PATCH] Add a miri test job in CI --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cf21bb2a..4c49729c 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -108,6 +108,16 @@ jobs: - run: cargo update -Z minimal-versions - run: cargo check --all-features + miri: + name: Miri + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: dtolnay/rust-toolchain@nightly + with: + components: miri + - run: cargo miri test --all-features + clippy: name: Clippy runs-on: ubuntu-latest