Skip to content

Commit 8f49bf2

Browse files
committed
build: do not use --locked (#341)
job: +check_debian Signed-off-by: usamoi <usamoi@outlook.com>
1 parent 63b5dac commit 8f49bf2

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -711,10 +711,10 @@ jobs:
711711
- name: Clippy & Test
712712
run: |
713713
PGRX_PG_CONFIG_PATH=pg_config \
714-
cargo clippy --locked --target ${{ matrix.rust_triple }} \
714+
cargo clippy --target ${{ matrix.rust_triple }} \
715715
--workspace --features pg${{ matrix.version }}
716716
PGRX_PG_CONFIG_PATH=pg_config \
717-
cargo test --locked --target ${{ matrix.rust_triple }} \
717+
cargo test --target ${{ matrix.rust_triple }} \
718718
--workspace --exclude vchord --no-fail-fast \
719719
-- --no-capture
720720

crates/make/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ fn build(
168168
) -> Result<PathBuf, Box<dyn Error>> {
169169
let mut command = Command::new("cargo");
170170
command
171-
.args(["build", "--locked"])
171+
.args(["build"])
172172
.args(["-p", "vchord", "--lib"])
173173
.args(["--profile", profile])
174174
.args(["--target", target])
@@ -266,7 +266,7 @@ fn generate(
266266
)?;
267267
let mut command = Command::new("cargo");
268268
command
269-
.args(["rustc", "--locked"])
269+
.args(["rustc"])
270270
.args(["-p", "vchord", "--bin", "pgrx_embed_vchord"])
271271
.args(["--profile", profile])
272272
.args(["--target", target])

0 commit comments

Comments
 (0)