Deny warnings in github/gitea/forgejo CI and act local runner

xmppftw@kl.netlib.re created

Change summary

.forgejo/workflows/build.yaml | 4 ++++
.github                       | 1 +
2 files changed, 5 insertions(+)

Detailed changes

.forgejo/workflows/build.yaml 🔗

@@ -35,6 +35,8 @@ jobs:
         run: cargo test --verbose --release -- --include-ignored
       - name: Run tests without default features
         run: cargo test --verbose --no-default-features
+    env:
+      RUSTFLAGS: " -D warnings"
 
   test-nightly:
     needs: [lint]
@@ -50,3 +52,5 @@ jobs:
         run: cargo test --verbose --release -- --include-ignored
       - name: Run tests without default features
         run: cargo test --verbose --no-default-features
+    env:
+      RUSTFLAGS: " -D warnings"