]> git.lizzy.rs Git - rust.git/blobdiff - .github/workflows/ci.yaml
Merge #10015
[rust.git] / .github / workflows / ci.yaml
index 222676d5e1a94692f11907dd8e748144ca142b90..9c0f3093e1edd3f7107eee3e91285f81351f5f98 100644 (file)
@@ -12,7 +12,7 @@ env:
   CARGO_NET_RETRY: 10
   CI: 1
   RUST_BACKTRACE: short
-  RUSTFLAGS: "-D warnings -W unreachable-pub"
+  RUSTFLAGS: "-D warnings -W unreachable-pub -W rust-2021-compatibility"
   RUSTUP_MAX_RETRIES: 10
 
 jobs:
@@ -57,7 +57,7 @@ jobs:
       run: cargo test --no-run --locked
 
     - name: Test
-      run: cargo test -- --nocapture
+      run: cargo test -- --nocapture --quiet
 
   # Weird targets to catch non-portable code
   rust-cross: