Skip to content

Commit aeee51e

Browse files
committed
ci: use --locked for cargo install
1 parent eb1bb22 commit aeee51e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/pr_cockpit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ jobs:
118118

119119
- name: Update Version
120120
run: |
121-
cargo install cargo-edit --version 0.11.11
121+
cargo install --locked cargo-edit --version 0.11.11
122122
cargo set-version --offline --package stackable-cockpit 0.0.0-pr${{ github.event.pull_request.number }}
123123
124124
# Recreate charts and publish charts and docker image. The "-e" is needed as we want to override the

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ WORKDIR /
4747
RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.68.2
4848
## PATCH: [email protected] uses libcargo 0.64 (Cargo 1.63), while our build uses features from Cargo 1.64
4949
## See https://github.com/CycloneDX/cyclonedx-rust-cargo/discussions/416
50-
# && . "$HOME/.cargo/env" && cargo install [email protected] [email protected]
50+
# && . "$HOME/.cargo/env" && cargo install --locked [email protected] [email protected]
5151

5252
# Build artifacts will be available in /app.
5353
RUN mkdir /app

0 commit comments

Comments
 (0)