From 39f38a191eca962278f4c540c0890e2f219e2933 Mon Sep 17 00:00:00 2001 From: Benjamin Brienen Date: Fri, 3 Jan 2025 17:28:56 -0500 Subject: [PATCH] Add `-D warnings` in a few steps (#17081) # Objective I missed a couple checks in #17011 ## Solution Add env ## Testing CI --- .github/workflows/ci.yml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 13feb4b805..71d418804b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,7 @@ env: CARGO_TERM_COLOR: always # If nightly is breaking CI, modify this variable to target a specific nightly version. NIGHTLY_TOOLCHAIN: nightly + RUSTFLAGS: "-D warnings" concurrency: group: ${{github.workflow}}-${{github.ref}} @@ -154,7 +155,6 @@ jobs: build-wasm: runs-on: ubuntu-latest timeout-minutes: 30 - needs: build steps: - uses: actions/checkout@v4 - uses: actions/cache@v4 @@ -170,14 +170,11 @@ jobs: with: target: wasm32-unknown-unknown - name: Check wasm - env: - RUSTFLAGS: "-D warnings" run: cargo check --target wasm32-unknown-unknown build-wasm-atomics: runs-on: ubuntu-latest timeout-minutes: 30 - needs: build steps: - uses: actions/checkout@v4 - uses: actions/cache@v4 @@ -400,7 +397,6 @@ jobs: msrv: runs-on: ubuntu-latest timeout-minutes: 30 - needs: build steps: - uses: actions/checkout@v4 - uses: actions/cache@v4