Add a miri test job in CI

This commit is contained in:
David Tolnay 2021-12-11 12:32:27 -08:00
parent 51f0f43607
commit 5ccc98edc8
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

View File

@ -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