diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 293c867ec1f..13470a4a530 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,8 +14,8 @@ concurrency: env: RUST_BACKTRACE: 1 - RUSTFLAGS: -Dwarnings - RUSTDOCFLAGS: -Dwarnings + RUSTFLAGS: "-A warnings" + RUSTDOCFLAGS: "-A warnings" MSRV: "1.76" SCCACHE_CACHE_SIZE: "50G" @@ -302,7 +302,7 @@ jobs: with: arguments: --workspace --all-features command: check - command-arguments: "-Dwarnings" + command-arguments: ""-A warnings"" netsim-integration-tests: if: "github.event_name != 'pull_request' || ! contains(github.event.pull_request.labels.*.name, 'flaky-test')" diff --git a/.github/workflows/docs.yaml b/.github/workflows/docs.yaml index d9b51ec44f5..3365b30c8cd 100644 --- a/.github/workflows/docs.yaml +++ b/.github/workflows/docs.yaml @@ -11,6 +11,8 @@ jobs: runs-on: ubuntu-latest env: RUSTC_WRAPPER: "sccache" + RUSTFLAGS: "-A warnings" + RUSTDOCFLAGS: "-A warnings" SCCACHE_GHA_ENABLED: "on" SCCACHE_CACHE_SIZE: "50G" PREVIEW_PATH: pr/${{ github.event.pull_request.number }}/docs diff --git a/.github/workflows/netsim.yml b/.github/workflows/netsim.yml index 1c662644b91..4d238ba2832 100644 --- a/.github/workflows/netsim.yml +++ b/.github/workflows/netsim.yml @@ -9,7 +9,7 @@ on: env: RUST_BACKTRACE: 1 - RUSTFLAGS: -Dwarnings + RUSTFLAGS: "-A warnings" MSRV: "1.66" SCCACHE_GHA_ENABLED: "true" RUSTC_WRAPPER: "sccache" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e998a27e73b..675eb4c7744 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,8 +25,8 @@ concurrency: env: RUST_BACKTRACE: 1 - RUSTFLAGS: -Dwarnings - RUSTDOCFLAGS: -Dwarnings + RUSTFLAGS: "-A warnings" + RUSTDOCFLAGS: "-A warnings" MSRV: "1.76" SCCACHE_CACHE_SIZE: "50G" BIN_NAMES: "iroh,iroh-relay,iroh-dns-server" diff --git a/.github/workflows/test_relay_server.yml b/.github/workflows/test_relay_server.yml index d7a0a50b2dd..c8f975bc1ca 100644 --- a/.github/workflows/test_relay_server.yml +++ b/.github/workflows/test_relay_server.yml @@ -11,8 +11,8 @@ concurrency: env: RUST_BACKTRACE: 1 - RUSTFLAGS: -Dwarnings - RUSTDOCFLAGS: -Dwarnings + RUSTFLAGS: "-A warnings" + RUSTDOCFLAGS: "-A warnings" MSRV: "1.76" SCCACHE_CACHE_SIZE: "50G" diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 4f018451a8e..f10cc8bcc8f 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -20,8 +20,8 @@ on: env: RUST_BACKTRACE: 1 - RUSTFLAGS: -Dwarnings - RUSTDOCFLAGS: -Dwarnings + RUSTFLAGS: "-A warnings" + RUSTDOCFLAGS: "-A warnings" SCCACHE_CACHE_SIZE: "50G" CRATES_LIST: "iroh,iroh-blobs,iroh-gossip,iroh-metrics,iroh-net,iroh-net-bench,iroh-docs,iroh-test,iroh-cli,iroh-dns-server"