From 0bd911277b66b673363042eca26b2f68bf8ef9a0 Mon Sep 17 00:00:00 2001 From: Wenyu Zhao Date: Thu, 14 Mar 2024 00:01:16 +1100 Subject: [PATCH] Update rust.yml --- .github/workflows/rust.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index f1f0aa1..ae45653 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -18,7 +18,9 @@ jobs: - uses: actions/checkout@v3 - name: Build run: cargo build - - name: Run tests - run: cargo test + - name: Run fmt checks + run: cargo fmt -- --check - name: Run lints run: cargo clippy -- -D warnings + - name: Run tests + run: cargo test