Skip to content

Commit 0ba1229

Browse files
authored
ci: partition cargo-checks job (#19897)
1 parent 2a953a8 commit 0ba1229

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/lint.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,12 @@ jobs:
9292
run: .github/assets/check_rv32imac.sh
9393

9494
crate-checks:
95+
name: crate-checks (${{ matrix.partition }}/${{ matrix.total_partitions }})
9596
runs-on: ubuntu-latest
97+
strategy:
98+
matrix:
99+
partition: [1, 2]
100+
total_partitions: [2]
96101
timeout-minutes: 30
97102
steps:
98103
- uses: actions/checkout@v5
@@ -102,7 +107,7 @@ jobs:
102107
- uses: Swatinem/rust-cache@v2
103108
with:
104109
cache-on-failure: true
105-
- run: cargo hack check --workspace
110+
- run: cargo hack check --workspace --partition ${{ matrix.partition }}/${{ matrix.total_partitions }}
106111

107112
msrv:
108113
name: MSRV

0 commit comments

Comments
 (0)