Skip to content

Commit

Permalink
Detect warnings in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Jan 1, 2022
1 parent 2c2568a commit bae6962
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
pull_request:
schedule: [cron: "40 1 * * *"]

env:
RUSTFLAGS: '-Dwarnings'

jobs:
test:
name: Rust ${{matrix.rust}}
Expand Down Expand Up @@ -67,7 +70,7 @@ jobs:
components: miri, rust-src
- run: cargo miri test
env:
MIRIFLAGS: "-Zmiri-tag-raw-pointers"
MIRIFLAGS: '-Zmiri-tag-raw-pointers'

outdated:
name: Outdated
Expand Down

0 comments on commit bae6962

Please sign in to comment.