Skip to content

Commit 9566c15

Browse files
committed
Use cargo install --locked in CI for MSRV
1 parent 87b8e78 commit 9566c15

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,13 @@ jobs:
4141
run: cargo fmt --all -- --check
4242

4343
- name: Build and install cargo-binutils
44+
if: matrix.rust == 'stable'
4445
run: cargo install --path . -f
4546

47+
- name: Build and install cargo-binutils (--locked)
48+
if: matrix.rust != 'stable'
49+
run: cargo install --locked --path . -f
50+
4651
- name: Run cargo-nm
4752
run: cargo nm --bin cargo-nm -- --undefined-only
4853

0 commit comments

Comments
 (0)