Skip to content

Commit

Permalink
Set miriflags once for whole miri job
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jan 3, 2022
1 parent c79d9ad commit 3f45930
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,17 +73,15 @@ jobs:
miri:
name: Miri
runs-on: ubuntu-latest
env:
MIRIFLAGS: "-Zmiri-tag-raw-pointers"
steps:
- uses: actions/checkout@v2
- uses: dtolnay/rust-toolchain@nightly
with:
components: miri
- run: cargo miri test
env:
MIRIFLAGS: "-Zmiri-tag-raw-pointers"
- run: cargo miri test --features preserve_order,float_roundtrip,arbitrary_precision,raw_value
env:
MIRIFLAGS: "-Zmiri-tag-raw-pointers"

clippy:
name: Clippy
Expand Down

0 comments on commit 3f45930

Please sign in to comment.