Cause tests to fail on CI when there are warnings

Nathan Sobo and Antonio Scandurra created

Co-Authored-By: Antonio Scandurra <me@as-cii.com>

Change summary

.github/workflows/ci.yml | 2 ++
1 file changed, 2 insertions(+)

Detailed changes

.github/workflows/ci.yml 🔗

@@ -19,6 +19,8 @@ jobs:
   tests:
     name: Run tests
     runs-on: self-hosted
+    env:
+      RUSTFLAGS: -D warnings
     steps:
       - name: Install Rust
         uses: actions-rs/toolchain@v1