From 3753d6b2f991532711478afbe93d9fa5a91d4e37 Mon Sep 17 00:00:00 2001 From: itsmeow Date: Fri, 29 Dec 2023 01:43:03 -0500 Subject: [PATCH] Let CI run if linting/formatting/check fails --- .github/workflows/rust.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c98ab294..a63c59d6 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -20,9 +20,11 @@ jobs: - uses: Swatinem/rust-cache@v2 - name: Clippy (all features) + continue-on-error: true run: cargo clippy --target i686-pc-windows-msvc --features all --locked -- -D warnings - name: Rustfmt + continue-on-error: true run: cargo fmt -- --check - name: Build (release) (all features) @@ -69,12 +71,15 @@ jobs: - uses: Swatinem/rust-cache@v2 - name: Check (all features) + continue-on-error: true run: cargo check --target i686-unknown-linux-gnu --locked --features all - name: Build (debug) (all features) + continue-on-error: true run: cargo build --target i686-unknown-linux-gnu --locked --features all - name: Run tests (all features) + continue-on-error: true run: cargo test --target i686-unknown-linux-gnu --locked --features all env: BYOND_BIN: /home/runner/BYOND/byond/bin