|
26 | 26 |
|
27 | 27 | - name: Run clippy |
28 | 28 | run: | |
29 | | - cargo clippy --all-targets --all-features -- -D warnings |
| 29 | + cargo clippy --locked --all-targets --all-features -- -D warnings |
30 | 30 |
|
31 | 31 | tier1: |
32 | 32 | # Matches the Rust Tier 1 platform support |
@@ -69,15 +69,15 @@ jobs: |
69 | 69 | tool: cross |
70 | 70 |
|
71 | 71 | - name: Check without features |
72 | | - run: cargo check --target=${{ matrix.target }} |
| 72 | + run: cargo check --locked --target=${{ matrix.target }} |
73 | 73 |
|
74 | 74 | - 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 }} |
76 | 76 | env: |
77 | 77 | CARGO_BINARY: ${{ matrix.use_cross == true && 'cross' || 'cargo' }} |
78 | 78 |
|
79 | 79 | - 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 }} |
81 | 81 | env: |
82 | 82 | CARGO_BINARY: ${{ matrix.use_cross == true && 'cross' || 'cargo' }} |
83 | 83 |
|
@@ -139,7 +139,7 @@ jobs: |
139 | 139 | tool: cross |
140 | 140 | - name: Run build |
141 | 141 | run: | |
142 | | - cross build --all-features --target=${{ matrix.target }} |
| 142 | + cross build --locked --all-features --target=${{ matrix.target }} |
143 | 143 |
|
144 | 144 | tier2_with_host_tools_via_cross: |
145 | 145 | # Matches Rust "Tier 2 with Host Tools" platform support |
@@ -167,7 +167,7 @@ jobs: |
167 | 167 | tool: cross |
168 | 168 | - name: Run build |
169 | 169 | run: | |
170 | | - cross build --all-features --target=${{ matrix.target }} |
| 170 | + cross build --locked --all-features --target=${{ matrix.target }} |
171 | 171 |
|
172 | 172 | tier2_without_host_tools: |
173 | 173 | # Matches Rust "Tier 2 with host tools" platform support |
@@ -258,7 +258,7 @@ jobs: |
258 | 258 | tool: cross |
259 | 259 | - name: Run build |
260 | 260 | run: | |
261 | | - cross build --all-features --target=${{ matrix.target }} |
| 261 | + cross build --locked --all-features --target=${{ matrix.target }} |
262 | 262 |
|
263 | 263 | tier2_without_host_tools_default_features: |
264 | 264 | # Matches Rust "Tier 2 with host tools" platform support |
@@ -288,7 +288,7 @@ jobs: |
288 | 288 | tool: cross |
289 | 289 | - name: Run build (default features) |
290 | 290 | run: | |
291 | | - cross build --target=${{ matrix.target }} |
| 291 | + cross build --locked --target=${{ matrix.target }} |
292 | 292 |
|
293 | 293 | # TODO: Tier 3 |
294 | 294 | # - x86_64-unknown-dragonfly |
|
0 commit comments