mirror of
https://github.com/italicsjenga/valence.git
synced 2025-02-04 17:46:35 +11:00
Fail checks when warnings occur
This commit is contained in:
parent
d459df8b2c
commit
70ef63aae3
1 changed files with 4 additions and 4 deletions
8
.github/workflows/rust.yml
vendored
8
.github/workflows/rust.yml
vendored
|
@ -24,9 +24,9 @@ jobs:
|
|||
with:
|
||||
components: clippy, rustfmt
|
||||
|
||||
- name: Validate formatting on ${{ matrix.os }}
|
||||
- name: Validate formatting
|
||||
run: cargo fmt --all -- --check
|
||||
- name: Run clippy lints on ${{ matrix.os }}
|
||||
run: cargo +stable clippy --no-deps --all-features --all-targets
|
||||
- name: Run tests on ${{ matrix.os }}
|
||||
- name: Run clippy lints
|
||||
run: cargo +stable clippy --no-deps --all-features --all-targets -- -D warnings
|
||||
- name: Run tests
|
||||
run: cargo +stable test --all-features --all-targets
|
||||
|
|
Loading…
Add table
Reference in a new issue