From ac329f2d7761dff71d4eefd87fa1e111853cbb1f Mon Sep 17 00:00:00 2001 From: itsjunetime Date: Fri, 29 Aug 2025 09:09:57 -0500 Subject: [PATCH] Require CI to run with locked flag so lockfile is always in sync --- .github/workflows/rust.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 2f8eada..a4977ec 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -31,12 +31,12 @@ jobs: - name: Install clippy and fmt run: rustup component add clippy rustfmt - name: Clippy - run: cargo clippy -- -D warnings + run: cargo clippy --locked -- -D warnings - name: Tests - run: cargo test + run: cargo test --locked - name: Check fmt run: cargo fmt -- --check - - name: Run tests - run: cargo test --benches -- adobe_example + - name: Run benchmarks as tests + run: cargo test --locked --benches -- adobe_example - name: Build - run: cargo build + run: cargo build --locked