From 9f1b95a3daf1d112f783360ba37893136fd4e62b Mon Sep 17 00:00:00 2001 From: Tom Date: Fri, 24 Apr 2026 15:41:17 -0700 Subject: [PATCH] .github/workflows/ci.yml: check if `Cargo.lock` is up-to-date --- .github/workflows/ci.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1352e60c2f..d55942bce6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,6 +36,8 @@ jobs: target/ key: ${{ runner.os }}-cargo-1-${{ hashFiles('**/Cargo.lock') }} restore-keys: ${{ runner.os }}-cargo-1- + - name: Check Cargo.lock is up-to-date + run: cargo fetch --locked - name: Build run: cargo build --verbose - name: Run tests