ci: Run cargo fmt and clippy on builds
This commit is contained in:
parent
9c9b3db7f4
commit
840d16216a
|
@ -15,6 +15,16 @@ jobs:
|
|||
rustup toolchain install stable
|
||||
rustup run stable rustc --version --verbose
|
||||
rustup run stable cargo test --package=ruffle_core
|
||||
- run:
|
||||
name: Clippy + Format
|
||||
command: |
|
||||
rustup toolchain install stable
|
||||
rustup component add --toolchain stable clippy
|
||||
rustup run stable cargo clippy --version
|
||||
rustup run stable cargo clippy --all --tests -- -D warnings
|
||||
rustup component add --toolchain stable rustfmt
|
||||
rustup run stable cargo fmt --version
|
||||
rustup run stable cargo fmt --all -- --check
|
||||
- run:
|
||||
name: Desktop Build
|
||||
command: |
|
||||
|
|
Loading…
Reference in New Issue