Skip to content
This repository was archived by the owner on Oct 23, 2022. It is now read-only.

Commit 771f376

Browse files
Joonas Koivunenaphelionz
authored andcommitted
fix: require Cargo.lock is up to date with ci builds
1 parent 4141cdb commit 771f376

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -96,16 +96,16 @@ jobs:
9696

9797
- name: Build
9898
if: matrix.platform.cross == false
99-
run: cargo build --workspace --tests --examples
99+
run: cargo build --locked --workspace --tests --examples
100100

101101
- name: Build android
102102
if: contains(matrix.platform.target, 'android')
103-
run: cargo ndk --android-platform 29 --target ${{ matrix.platform.target }} build --workspace --exclude ipfs-http
103+
run: cargo ndk --android-platform 29 --target ${{ matrix.platform.target }} build --locked --workspace --exclude ipfs-http
104104
# exclude http on android because openssl
105105

106106
- name: Build other cross compilations
107107
if: contains(matrix.platform.target, 'android') == false && matrix.platform.cross == true
108-
run: cargo build --workspace --exclude ipfs-http --target ${{ matrix.platform.target }}
108+
run: cargo build --locked --workspace --exclude ipfs-http --target ${{ matrix.platform.target }}
109109
# exclude http on other cross compilation targets because openssl
110110

111111
- name: Rust tests

0 commit comments

Comments
 (0)