Detect warnings in CI

This commit is contained in:
David Tolnay 2021-12-31 22:22:30 -08:00
parent ba8dd88380
commit e2364ef593
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82
1 changed files with 4 additions and 1 deletions

View File

@ -5,6 +5,9 @@ on:
pull_request: pull_request:
schedule: [cron: "40 1 * * *"] schedule: [cron: "40 1 * * *"]
env:
RUSTFLAGS: '-Dwarnings'
jobs: jobs:
test: test:
name: Rust ${{matrix.rust}} name: Rust ${{matrix.rust}}
@ -37,7 +40,7 @@ jobs:
components: miri components: miri
- run: cargo miri test - run: cargo miri test
env: env:
MIRIFLAGS: "-Zmiri-tag-raw-pointers" MIRIFLAGS: '-Zmiri-tag-raw-pointers'
clippy: clippy:
name: Clippy name: Clippy