From 25274e2f119f84ec4c584301e881fe94264110e3 Mon Sep 17 00:00:00 2001 From: "xmppftw@kl.netlib.re" Date: Thu, 18 Jan 2024 14:31:11 +0100 Subject: [PATCH] Deny warnings in github/gitea/forgejo CI and act local runner --- .forgejo/workflows/build.yaml | 4 ++++ .github | 1 + 2 files changed, 5 insertions(+) create mode 120000 .github diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 422efd62..934098e7 100644 --- a/.forgejo/workflows/build.yaml +++ b/.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" diff --git a/.github b/.github new file mode 120000 index 00000000..0db043d0 --- /dev/null +++ b/.github @@ -0,0 +1 @@ +.forgejo/ \ No newline at end of file