Skip to content

Commit f554e60

Browse files
authored
ci: use --locked when installing cargo-msrv and cargo-audit (#746)
1 parent 52f5119 commit f554e60

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/audit.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,6 @@ jobs:
3838
steps:
3939
- uses: actions/checkout@v6
4040
- name: Install cargo-audit
41-
run: cargo install cargo-audit
41+
run: cargo install cargo-audit --locked
4242
- name: Run audit check
4343
run: cargo audit

.github/workflows/rust.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ jobs:
5151
steps:
5252
- uses: actions/checkout@v6
5353
- name: Install cargo-msrv
54-
run: cargo install cargo-msrv
54+
run: cargo install cargo-msrv --locked
5555
- name: Check
5656
run: |
5757
# run `cargo msrv verify` to see problems

0 commit comments

Comments
 (0)