ci: fix flags
This commit is contained in:
parent
d5c85d4a17
commit
0272809c82
4
.github/workflows/rust.yaml
vendored
4
.github/workflows/rust.yaml
vendored
|
@ -17,8 +17,8 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Format
|
||||
run: cargo fmt -- --check
|
||||
run: cargo fmt --all -- --check
|
||||
- name: Lint
|
||||
run: cargo clippy --all --all-targets --all-features -- -D warnings
|
||||
run: cargo clippy --workspace --all-targets --all-features -- -D warnings
|
||||
- name: Run tests
|
||||
run: make check-all
|
||||
|
|
8
Makefile
8
Makefile
|
@ -3,11 +3,9 @@ watch:
|
|||
cargo watch -x clippy
|
||||
|
||||
check:
|
||||
cargo test --all --release
|
||||
cargo test --workspace --release
|
||||
|
||||
# run these in release mode because the reason they're ignored is usually that
|
||||
# they take a long time to run
|
||||
check-all: check
|
||||
cargo test --all --release -- --ignored
|
||||
check-all:
|
||||
cargo test --workspace --release -- --include-ignored
|
||||
|
||||
.PHONY: watch check check-all
|
||||
|
|
Loading…
Reference in a new issue