From 58909b23b1ea0657e7668274e9c3bee4a511e353 Mon Sep 17 00:00:00 2001 From: DeFiDude <59237470+DeFiDude@users.noreply.github.com> Date: Thu, 6 Aug 2026 23:58:55 -0600 Subject: [PATCH] ci: preserve library lockfile policy --- .github/workflows/ci.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9773475..418b55f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,10 +30,12 @@ jobs: save-if: ${{ github.ref == 'refs/heads/main' }} - name: Check formatting run: cargo fmt --all -- --check + # lrgp-rs is a library and intentionally does not commit Cargo.lock. + # Keep these commands unlocked so CI matches a fresh consumer checkout. - name: Lint all targets - run: cargo clippy --all-targets --all-features --locked -- -D warnings + run: cargo clippy --all-targets --all-features -- -D warnings - name: Run tests - run: cargo test --all-features --locked + run: cargo test --all-features msrv: name: Rust 1.85 MSRV @@ -49,4 +51,4 @@ jobs: cache-bin: false save-if: ${{ github.ref == 'refs/heads/main' }} - name: Clippy (all targets and features) - run: cargo clippy --all-targets --all-features --locked -- -D warnings + run: cargo clippy --all-targets --all-features -- -D warnings