Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deny warnings and add miri to CI #2448

Open
wants to merge 10 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ on:
- staging # bors
- trying # bors

permissions:
contents: read

env:
RUSTFLAGS: -Dwarnings

jobs:
coverage:
name: Coverage
Expand Down Expand Up @@ -57,6 +63,17 @@ jobs:
- name: Test with nextest
run: cargo nextest run --profile ci --cargo-profile ci --features intl

miri:
name: Miri
needs: tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: dtolnay/rust-toolchain@miri
- run: cargo miri test miri
env:
MIRIFLAGS: -Zmiri-strict-provenance

misc:
name: Misc
runs-on: ubuntu-latest
Expand Down