Skip to content

ci: fix miri arguments #19

ci: fix miri arguments

ci: fix miri arguments #19

Workflow file for this run

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: rustfmt
run: cargo fmt -- --config "unstable_features=true,imports_granularity=Crate,group_imports=StdExternalCrate,format_code_in_doc_comments=true"
- name: clippy no-default-feature
run: cargo clippy --no-default-features -- -D warnings
- name: clippy all-features
run: cargo clippy --all-features --tests -- -D warnings
- name: test
run: cargo test --all-features
- name: install miri
run: rustup install nightly && rustup +nightly component add miri
- name: miri
run: cargo +nightly miri test --all-features --many-seeds
- name: loom
run: cargo test --release --lib
env:
RUSTFLAGS: "--cfg loom"