Build rust with warnings=errors
This commit is contained in:
parent
652235a6b8
commit
8eef790a61
2 changed files with 7 additions and 3 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -70,7 +70,9 @@ jobs:
|
|||
run: script/build-wasm
|
||||
|
||||
- name: Build CLI
|
||||
run: RUSTFLAGS="-D warnings" cargo build --release
|
||||
run: |
|
||||
RUSTFLAGS="-D warnings"
|
||||
cargo build --release
|
||||
|
||||
- name: Set up fixture parsers
|
||||
run: |
|
||||
|
|
@ -134,7 +136,9 @@ jobs:
|
|||
run: cargo fmt -- --check
|
||||
|
||||
- name: Build CLI
|
||||
run: RUSTFLAGS="-D warnings" cargo build --release
|
||||
run: |
|
||||
$env:RUSTFLAGS="-D warnings"
|
||||
cargo build --release
|
||||
|
||||
- name: Set up fixture parsers
|
||||
run: |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue