Skip to content

Commit 94c8269

Browse files
committed
Version Cargo.lock
1 parent 3c1df88 commit 94c8269

File tree

3 files changed

+797
-9
lines changed

3 files changed

+797
-9
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
2727
- name: Run clippy
2828
run: |
29-
cargo clippy --all-targets --all-features -- -D warnings
29+
cargo clippy --locked --all-targets --all-features -- -D warnings
3030
3131
tier1:
3232
# Matches the Rust Tier 1 platform support
@@ -69,15 +69,15 @@ jobs:
6969
tool: cross
7070

7171
- name: Check without features
72-
run: cargo check --target=${{ matrix.target }}
72+
run: cargo check --locked --target=${{ matrix.target }}
7373

7474
- name: Check with all features enabled
75-
run: ${{ env.CARGO_BINARY }} check --all-features --target=${{ matrix.target }}
75+
run: ${{ env.CARGO_BINARY }} check --locked --all-features --target=${{ matrix.target }}
7676
env:
7777
CARGO_BINARY: ${{ matrix.use_cross == true && 'cross' || 'cargo' }}
7878

7979
- name: Run tests
80-
run: ${{ env.CARGO_BINARY }} test --all-features --target=${{ matrix.target }}
80+
run: ${{ env.CARGO_BINARY }} test --locked --all-features --target=${{ matrix.target }}
8181
env:
8282
CARGO_BINARY: ${{ matrix.use_cross == true && 'cross' || 'cargo' }}
8383

@@ -139,7 +139,7 @@ jobs:
139139
tool: cross
140140
- name: Run build
141141
run: |
142-
cross build --all-features --target=${{ matrix.target }}
142+
cross build --locked --all-features --target=${{ matrix.target }}
143143
144144
tier2_with_host_tools_via_cross:
145145
# Matches Rust "Tier 2 with Host Tools" platform support
@@ -167,7 +167,7 @@ jobs:
167167
tool: cross
168168
- name: Run build
169169
run: |
170-
cross build --all-features --target=${{ matrix.target }}
170+
cross build --locked --all-features --target=${{ matrix.target }}
171171
172172
tier2_without_host_tools:
173173
# Matches Rust "Tier 2 with host tools" platform support
@@ -258,7 +258,7 @@ jobs:
258258
tool: cross
259259
- name: Run build
260260
run: |
261-
cross build --all-features --target=${{ matrix.target }}
261+
cross build --locked --all-features --target=${{ matrix.target }}
262262
263263
tier2_without_host_tools_default_features:
264264
# Matches Rust "Tier 2 with host tools" platform support
@@ -288,7 +288,7 @@ jobs:
288288
tool: cross
289289
- name: Run build (default features)
290290
run: |
291-
cross build --target=${{ matrix.target }}
291+
cross build --locked --target=${{ matrix.target }}
292292
293293
# TODO: Tier 3
294294
# - x86_64-unknown-dragonfly

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
/target
22
**/target
33
**/*.rs.bk
4-
Cargo.lock

0 commit comments

Comments
 (0)