Skip to content

Commit

Permalink
Add miri checks (#650)
Browse files Browse the repository at this point in the history
  • Loading branch information
nwagner84 authored Jul 10, 2023
1 parent 31fce16 commit 45b054a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,21 @@ jobs:
command: check
arguments: --workspace

miri:
name: miri
runs-on: ubuntu-latest
needs: test
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install Rust
uses: dtolnay/rust-toolchain@miri
- run: cargo miri test --workspace --lib --verbose
env:
MIRIFLAGS: -Zmiri-strict-provenance
- run: cargo miri test --workspace --doc --verbose
env:
MIRIFLAGS: -Zmiri-strict-provenance

book:
if: ${{ github.event_name == 'push' || !github.event.pull_request.draft }}
Expand Down Expand Up @@ -365,8 +380,10 @@ jobs:
- check
- clippy
- cross
- deny
- fmt
- fuzz
- miri
- test
- udeps
- upgrades
Expand Down

0 comments on commit 45b054a

Please sign in to comment.