mirror of
https://github.com/ratspeak/lrgp-rs
synced 2026-08-12 18:07:21 -04:00
ci: preserve library lockfile policy
This commit is contained in:
parent
a3da010b5c
commit
58909b23b1
1 changed files with 5 additions and 3 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue