CI: build should come before clippy

This commit is contained in:
cyqsimon
2023-08-25 11:36:13 +08:00
parent ff044d42e2
commit 552d982c8f

View File

@@ -30,9 +30,6 @@ jobs:
- name: Check formatting
run: cargo fmt --all -- --check
- name: Run clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Build
run: cargo build --verbose
@@ -51,6 +48,9 @@ jobs:
done
set -x
- name: Run clippy
run: cargo clippy --all-targets --all-features -- -D warnings
- name: Run tests
run: cargo test --verbose