From a199a5fd64b1efee9562147bbd38430325ae1bb5 Mon Sep 17 00:00:00 2001 From: Firestar99 Date: Thu, 28 Aug 2025 02:51:33 +0200 Subject: [PATCH] Make CI reject an out-of-date Cargo.lock manifest (#3101) * ci: detect out of date Cargo.lock * update Cargo.lock --------- Co-authored-by: Keavon Chambers --- .github/workflows/build-dev-and-ci.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/build-dev-and-ci.yml b/.github/workflows/build-dev-and-ci.yml index 016d42cb..c55019fa 100644 --- a/.github/workflows/build-dev-and-ci.yml +++ b/.github/workflows/build-dev-and-ci.yml @@ -47,6 +47,11 @@ jobs: echo "Latest updated version:" rustc --version + - name: 🦀 Fetch Rust dependencies + run: | + echo "If it fails here, the committed Cargo.lock may be out of date" + cargo fetch --locked + - name: ✂ Replace template in of index.html run: | # Remove the INDEX_HTML_HEAD_REPLACEMENT environment variable for build links (not master deploys)