summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorcyqsimon <28627918+cyqsimon@users.noreply.github.com>2023-08-25 11:36:13 +0800
committercyqsimon <28627918+cyqsimon@users.noreply.github.com>2023-08-25 11:38:44 +0800
commit552d982c8fcb5101847c46cc5ca34babda1d7ad7 (patch)
treed822f9333e5bd8275ef6da18a353f32581703635 /.github
parentff044d42e22b6d6fc40edb30375760b550e4032e (diff)
CI: build should come before clippy
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/ci.yaml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 17a8264..7e46649 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -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