Skip to content

Commit

Permalink
Run miri in CI.
Browse files Browse the repository at this point in the history
  • Loading branch information
de-vri-es committed Dec 13, 2024
1 parent 6c7091d commit 7d0a5fe
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,17 +19,15 @@ jobs:
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.lock') }}
restore-keys: ${{ runner.os }}-cargo
- name: Build
uses: actions-rs/cargo@v1
with:
command: build
args: --workspace --all-targets --features indexmap,json,toml,yaml --color=always
run: cargo +stable build --workspace --all-targets --features indexmap,json,toml,yaml --color=always
- name: Test
uses: actions-rs/cargo@v1
with:
command: test
args: --workspace --all-targets --features indexmap,json,toml,yaml --color=always
run: cargo +stable test --workspace --all-targets --features indexmap,json,toml,yaml --color=always
- name: Clippy
uses: actions-rs/clippy-check@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --workspace --all-targets --features indexmap,json,toml,yaml
- name: Install miri
run: rustup +nightly component add miri
- name: Run miri
run: cargo +nightly miri test --workspace --all-targets --features indexmap,json,toml,yaml --color=always

0 comments on commit 7d0a5fe

Please sign in to comment.