From a2a856f2ae3c3ab45cae01eb28bf14708a16f5d8 Mon Sep 17 00:00:00 2001 From: Peter Hanssens Date: Tue, 23 Sep 2025 19:41:32 +1000 Subject: [PATCH] fix: Resolve Cargo lock file version compatibility issue - Update Rust version from 1.75.0 to 1.80.0 for lock file compatibility - Add step to remove Cargo.lock before building to ensure clean build - Fix 'lock file version 4' error in GitHub Actions environment - Ensure wasm-pack build works with current Cargo version --- .github/workflows/demo-deploy.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/demo-deploy.yml b/.github/workflows/demo-deploy.yml index f1be3d6..b272231 100644 --- a/.github/workflows/demo-deploy.yml +++ b/.github/workflows/demo-deploy.yml @@ -18,7 +18,7 @@ on: workflow_dispatch: # Allow manual triggering env: - RUST_VERSION: '1.75.0' + RUST_VERSION: '1.80.0' NODE_VERSION: '18' WASM_PACK_VERSION: '0.12.1' @@ -66,6 +66,8 @@ jobs: - name: Build comprehensive demo run: | cd examples/comprehensive-demo + # Remove lock file to ensure compatibility + rm -f Cargo.lock wasm-pack build --target web --out-dir pkg --release - name: Start demo server