From 458f6d30ba79c1e997bbceee33985b8475180eed Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Fri, 10 Jan 2025 18:41:15 +0000 Subject: [PATCH] Run fast clippy/fmt/typos before relatively slow tests --- .github/workflows/tests.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 4cf2ae96..e57bf8e4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -48,18 +48,18 @@ jobs: rustc --version - name: Build run: cargo build --all-targets - - uses: taiki-e/install-action@v2 - name: Install nextest using install-action - with: - tool: nextest - - name: Test - run: cargo test --workspace - name: Check rustfmt run: cargo fmt --all --check - name: Check clippy run: cargo clippy --all-targets --all-features -- -D warnings - name: Check typos uses: crate-ci/typos@master + - uses: taiki-e/install-action@v2 + name: Install nextest using install-action + with: + tool: nextest + - name: Test + run: cargo test --workspace - name: Build release binary run: cargo build --release - name: Upload binary artifact