Skip to content

Commit 3558031

Browse files
authored
1 parent 9591f0d commit 3558031

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/ci.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ on:
1414

1515
env:
1616
CARGO_TERM_COLOR: always
17+
CARGO_INCREMENTAL: 0
18+
RUSTFLAGS: -D warnings
1719

1820
jobs:
1921
test:
@@ -23,8 +25,10 @@ jobs:
2325
- uses: dtolnay/rust-toolchain@stable
2426
- uses: taiki-e/install-action@nextest
2527
- uses: Swatinem/rust-cache@v2
26-
- name: Run tests
27-
run: make test
28+
- name: Compile
29+
run: cargo test --no-run --locked
30+
- name: Test
31+
run: cargo test -- --nocapture --quiet
2832

2933
lint:
3034
runs-on: ubuntu-latest
@@ -43,7 +47,6 @@ jobs:
4347
uses: actions-rs/cargo@v1
4448
with:
4549
command: clippy
46-
# --all-targets makes it lint tests too
4750
args: --all-targets --all-features -- -D warnings
4851

4952
publish-check:

0 commit comments

Comments
 (0)