From f708a51fe081ca644deda20f34a5df97df32a269 Mon Sep 17 00:00:00 2001 From: Fletcher555 Date: Sun, 31 Aug 2025 21:41:09 -0400 Subject: [PATCH] CI step to run cargo check with warnings treated with failures --- .github/workflows/rust.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 1337d32..78ebc38 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -10,6 +10,20 @@ env: CARGO_TERM_COLOR: always jobs: + check: + name: Rust Check + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install Rust (latest stable) + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + + - name: Run checks + run: RUSTFLAGS="-D warnings" cargo check --verbose + test: name: Rust Tests runs-on: ubuntu-latest