From 552d982c8fcb5101847c46cc5ca34babda1d7ad7 Mon Sep 17 00:00:00 2001 From: cyqsimon <28627918+cyqsimon@users.noreply.github.com> Date: Fri, 25 Aug 2023 11:36:13 +0800 Subject: [PATCH] CI: build should come before clippy --- .github/workflows/ci.yaml | 6 +++--- 1 file 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