Skip to content
This repository was archived by the owner on Feb 12, 2026. It is now read-only.

Commit 7ba83e5

Browse files
committed
Update workflows
1 parent 3636d1d commit 7ba83e5

File tree

3 files changed

+21
-2
lines changed

3 files changed

+21
-2
lines changed

.github/workflows/periodic.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ jobs:
3131

3232
check:
3333
name: Check
34+
needs: [fmt]
3435
strategy:
3536
matrix:
3637
platform:
@@ -53,6 +54,8 @@ jobs:
5354
run: cargo check --features "${{ matrix.features }}"
5455

5556
test:
57+
name: Test
58+
needs: [check]
5659
strategy:
5760
matrix:
5861
platform:

.github/workflows/regression.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ jobs:
3434

3535
check:
3636
name: Check
37+
needs: [fmt]
3738
strategy:
3839
matrix:
3940
platform:
@@ -56,6 +57,8 @@ jobs:
5657
run: cargo check --features "${{ matrix.features }}"
5758

5859
test:
60+
name: Test
61+
needs: [check]
5962
strategy:
6063
matrix:
6164
platform:

.github/workflows/release.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ jobs:
4141

4242
check:
4343
name: Check
44+
needs: [fmt]
4445
strategy:
4546
matrix:
4647
platform:
@@ -63,6 +64,8 @@ jobs:
6364
run: cargo check --features "${{ matrix.features }}"
6465

6566
test:
67+
name: Test
68+
needs: [check]
6669
strategy:
6770
matrix:
6871
platform:
@@ -92,6 +95,8 @@ jobs:
9295
run: cargo test --target "${{ matrix.platform.target }}" --features "${{ matrix.features }}"
9396

9497
linux:
98+
name: Linux
99+
needs: [test]
95100
runs-on: ${{ matrix.platform.runner }}
96101
strategy:
97102
matrix:
@@ -125,6 +130,8 @@ jobs:
125130
path: dist
126131

127132
linux2:
133+
name: Linux2
134+
needs: [test]
128135
runs-on: ${{ matrix.platform.runner }}
129136
strategy:
130137
matrix:
@@ -158,6 +165,8 @@ jobs:
158165
path: dist
159166

160167
musllinux:
168+
name: MuslLinux
169+
needs: [test]
161170
runs-on: ${{ matrix.platform.runner }}
162171
strategy:
163172
matrix:
@@ -195,6 +204,8 @@ jobs:
195204
path: dist
196205

197206
windows:
207+
name: Windows
208+
needs: [test]
198209
runs-on: ${{ matrix.platform.runner }}
199210
strategy:
200211
matrix:
@@ -227,6 +238,8 @@ jobs:
227238
path: dist
228239

229240
macos:
241+
name: MacOS
242+
needs: [test]
230243
runs-on: ${{ matrix.platform.runner }}
231244
strategy:
232245
matrix:
@@ -277,9 +290,9 @@ jobs:
277290

278291
release:
279292
name: Release
293+
needs: [linux, linux2, musllinux, windows, macos, sdist]
280294
runs-on: ubuntu-latest
281295
if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
282-
needs: [linux, musllinux, windows, macos, sdist]
283296
permissions:
284297
# Use to sign the release artifacts
285298
id-token: write
@@ -320,11 +333,11 @@ jobs:
320333

321334
publish-crates:
322335
name: Publish crate
336+
needs: [release]
323337
strategy:
324338
matrix:
325339
os: [ubuntu-latest]
326340
toolchain: [stable]
327-
needs: [release]
328341
runs-on: ${{ matrix.os }}
329342
steps:
330343
- name: Checkout

0 commit comments

Comments
 (0)