Add -D warnings
in a few steps (#17081)
# Objective I missed a couple checks in #17011 ## Solution Add env ## Testing CI
This commit is contained in:
parent
43db44ca3a
commit
39f38a191e
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user