From df80c3783c93ab3b50a30375f13d334f46aa5631 Mon Sep 17 00:00:00 2001 From: tangbo Date: Mon, 20 May 2024 16:21:16 +0800 Subject: [PATCH] cargo install locked --- .github/workflows/call-rust.yml | 6 +++--- templates/rust/extra.j2 | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/call-rust.yml b/.github/workflows/call-rust.yml index 6d137f2..aef3cc6 100644 --- a/.github/workflows/call-rust.yml +++ b/.github/workflows/call-rust.yml @@ -59,7 +59,7 @@ jobs: - name: setup tools run: | - cargo install cargo-audit cargo2junit cargo-tarpaulin cargo-nextest + cargo install cargo-audit cargo2junit cargo-tarpaulin cargo-nextest --locked lint: needs: [setup] @@ -96,7 +96,7 @@ jobs: - name: setup tools run: | - cargo install cargo-audit cargo2junit cargo-tarpaulin cargo-nextest + cargo install cargo-audit cargo2junit cargo-tarpaulin cargo-nextest --locked - name: lint run: | @@ -142,7 +142,7 @@ jobs: - name: setup tools run: | - cargo install cargo-audit cargo2junit cargo-tarpaulin cargo-nextest + cargo install cargo-audit cargo2junit cargo-tarpaulin cargo-nextest --locked - name: test run: | diff --git a/templates/rust/extra.j2 b/templates/rust/extra.j2 index febd293..a65292b 100644 --- a/templates/rust/extra.j2 +++ b/templates/rust/extra.j2 @@ -17,7 +17,7 @@ - name: setup tools run: | - cargo install cargo-audit cargo2junit cargo-tarpaulin cargo-nextest + cargo install cargo-audit cargo2junit cargo-tarpaulin cargo-nextest --locked {% endraw %} {%- endset %}