ci: preserve library lockfile policy

This commit is contained in:
DeFiDude 2026-08-06 23:58:55 -06:00
parent a3da010b5c
commit 58909b23b1

View file

@ -30,10 +30,12 @@ jobs:
save-if: ${{ github.ref == 'refs/heads/main' }} save-if: ${{ github.ref == 'refs/heads/main' }}
- name: Check formatting - name: Check formatting
run: cargo fmt --all -- --check 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 - 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 - name: Run tests
run: cargo test --all-features --locked run: cargo test --all-features
msrv: msrv:
name: Rust 1.85 MSRV name: Rust 1.85 MSRV
@ -49,4 +51,4 @@ jobs:
cache-bin: false cache-bin: false
save-if: ${{ github.ref == 'refs/heads/main' }} save-if: ${{ github.ref == 'refs/heads/main' }}
- name: Clippy (all targets and features) - 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