Skip to content

Commit a199a5f

Browse files
Firestar99Keavon
andauthored
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 <[email protected]>
1 parent 34b52bc commit a199a5f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/build-dev-and-ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,11 @@ jobs:
4747
echo "Latest updated version:"
4848
rustc --version
4949
50+
- name: 🦀 Fetch Rust dependencies
51+
run: |
52+
echo "If it fails here, the committed Cargo.lock may be out of date"
53+
cargo fetch --locked
54+
5055
- name: ✂ Replace template in <head> of index.html
5156
run: |
5257
# Remove the INDEX_HTML_HEAD_REPLACEMENT environment variable for build links (not master deploys)

0 commit comments

Comments
 (0)