Skip to content

Commit

Permalink
ci: use --locked while installing cargo-generate (FuelLabs#4578)
Browse files Browse the repository at this point in the history
## Description
closes FuelLabs#4577.

Because of an upstream issue in `cargo-generate`, which can be seen from
cargo-generate/cargo-generate#942, our CI is
blocked. Until the fix lands we need the `--locked` flag added to
install step.
  • Loading branch information
kayagokalp authored May 22, 2023
1 parent 3445cd1 commit bd31c91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ jobs:
# - name: Run test project's test suite
# run: (cd test-proj && forc test)
- name: Install cargo-generate
run: cargo install cargo-generate
run: cargo install --locked cargo-generate
- name: Generate Rust Integration Tests
run: (cd test-proj && cargo generate --init --path ../templates/sway-test-rs --name test-proj)
- name: Update project cargo manifest with workspace
Expand Down

0 comments on commit bd31c91

Please sign in to comment.