Skip to content

Commit 2685564

Browse files
author
Ariel Ben-Yehuda
committed
add code for removing Cargo.lock
1 parent 47e11f4 commit 2685564

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/actions/rust-build/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ runs:
1616
- uses: Swatinem/rust-cache@v2
1717
- name: Build
1818
shell: bash
19-
run: cargo build --all-features --verbose
19+
run: if [ "${{ inputs.toolchain }}" != stable ]; then rm -fv Cargo.lock; fi && cargo build --all-features --verbose
2020
- name: Run tests
2121
shell: bash
2222
run: cargo test --all-features --verbose

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
strategy:
88
matrix:
99
toolchain:
10-
- "1.71.1" # Current MSRVA
10+
- "1.71.1" # Current MSRV
1111
- stable
1212
env:
1313
RUST_BACKTRACE: 1

0 commit comments

Comments
 (0)