Detect warnings in CI

This commit is contained in:
David Tolnay 2021-12-31 22:17:12 -08:00
parent a243a5e2bc
commit 1a9a1e3d1f
No known key found for this signature in database
GPG Key ID: F9BA143B95FF6D82

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}} on ${{matrix.os}} name: Rust ${{matrix.rust}} on ${{matrix.os}}