Add a miri test job in CI

This commit is contained in:
David Tolnay 2021-12-11 15:05:15 -08:00
parent aaaf125f0b
commit 52eec5e2ee
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -67,6 +67,16 @@ jobs:
- uses: dtolnay/rust-toolchain@1.36.0
- run: cargo check --manifest-path tests/crate/Cargo.toml --no-default-features --features alloc
miri:
name: Miri
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@nightly
with:
components: miri
- run: cargo miri test
clippy:
name: Clippy
runs-on: ubuntu-latest