Skip to content

Commit 6326cda

Browse files
committed
ci: improvements
1 parent c992c03 commit 6326cda

File tree

10 files changed

+56
-56
lines changed

10 files changed

+56
-56
lines changed

.github/workflows/canary.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ env:
3232
jobs:
3333
# Compute canary version from release-please manifest
3434
version:
35-
name: Compute Version
35+
name: Version
3636
runs-on: ubuntu-latest
3737
outputs:
3838
version: ${{ steps.version.outputs.version }}
@@ -65,7 +65,7 @@ jobs:
6565
6666
# Create GitHub pre-release
6767
create-release:
68-
name: Create Pre-Release
68+
name: Release
6969
needs: version
7070
runs-on: ubuntu-latest
7171
permissions:
@@ -107,7 +107,7 @@ jobs:
107107
108108
# Build release binaries for multiple platforms
109109
build-binaries:
110-
name: Build Binaries (${{ matrix.target }})
110+
name: Build (${{ matrix.target }})
111111
needs: [version, create-release]
112112
runs-on: ${{ matrix.os }}
113113
permissions:
@@ -213,7 +213,7 @@ jobs:
213213
214214
# Build and push Docker images
215215
build-docker:
216-
name: Build Docker (${{ matrix.platform }})
216+
name: Docker (${{ matrix.platform }})
217217
needs: [version, create-release]
218218
strategy:
219219
fail-fast: false
@@ -284,7 +284,7 @@ jobs:
284284

285285
# Merge platform-specific images into multi-arch manifest
286286
merge-docker:
287-
name: Create Multi-Arch Manifest
287+
name: Docker Manifest
288288
runs-on: ubuntu-latest
289289
needs: [version, build-docker]
290290
steps:
@@ -331,7 +331,7 @@ jobs:
331331
332332
# Generate SBOM for Docker image
333333
sbom-docker:
334-
name: Generate Docker SBOM
334+
name: Docker SBOM
335335
runs-on: ubuntu-latest
336336
needs: [version, merge-docker]
337337
steps:

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ env:
2929
jobs:
3030
# Validate conventional commit messages
3131
commits:
32-
name: Commit Messages
32+
name: Commits
3333
runs-on: ubuntu-latest
3434
# Only run on pull requests - push to main is already validated
3535
if: github.event_name == 'pull_request'
@@ -68,7 +68,7 @@ jobs:
6868
6969
# Check code formatting
7070
fmt:
71-
name: Formatting
71+
name: Format
7272
runs-on: ubuntu-latest
7373
steps:
7474
- name: Harden the runner (Audit all outbound calls)
@@ -126,7 +126,7 @@ jobs:
126126

127127
# Check for unused dependencies
128128
udeps:
129-
name: Unused Dependencies
129+
name: Dependencies
130130
runs-on: ubuntu-latest
131131
env:
132132
RUSTFLAGS: "-C codegen-units=16 -C link-arg=-fuse-ld=mold"
@@ -258,7 +258,7 @@ jobs:
258258

259259
# Code coverage (nightly only to reduce CI costs)
260260
coverage:
261-
name: Code Coverage
261+
name: Coverage
262262
needs: test
263263
runs-on: ubuntu-latest
264264
if: github.event_name == 'schedule'
@@ -314,7 +314,7 @@ jobs:
314314

315315
# Build documentation
316316
docs:
317-
name: Documentation
317+
name: Docs
318318
runs-on: ubuntu-latest
319319
env:
320320
RUSTFLAGS: "-C codegen-units=16 -C link-arg=-fuse-ld=mold"
@@ -351,7 +351,7 @@ jobs:
351351

352352
# Overall status check
353353
ci-success:
354-
name: CI Success
354+
name: Status
355355
needs: [commits, fmt, clippy, udeps, msrv, test, coverage, docs]
356356
runs-on: ubuntu-latest
357357
if: always()

.github/workflows/cleanup.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ permissions:
1313

1414
jobs:
1515
cleanup:
16-
name: Cleanup Old Pre-releases
16+
name: Cleanup
1717
runs-on: ubuntu-latest
1818
steps:
1919
- name: Harden the runner (Audit all outbound calls)

.github/workflows/codeql.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ permissions:
1919

2020
jobs:
2121
changes:
22-
name: Detect Changes
22+
name: Changes
2323
runs-on: ubuntu-latest
2424
if: github.actor != 'dependabot[bot]'
2525
permissions:
@@ -49,8 +49,8 @@ jobs:
4949
actions:
5050
- '.github/workflows/**'
5151
52-
analyze-rust:
53-
name: Analyze Rust
52+
rust:
53+
name: Rust
5454
needs: changes
5555
if: needs.changes.outputs.rust == 'true'
5656
runs-on: ubuntu-latest
@@ -77,8 +77,8 @@ jobs:
7777
with:
7878
category: "/language:rust"
7979

80-
analyze-actions:
81-
name: Analyze Actions
80+
actions:
81+
name: Actions
8282
needs: changes
8383
if: needs.changes.outputs.actions == 'true'
8484
runs-on: ubuntu-latest

.github/workflows/container.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,8 @@ jobs:
118118
retention-days: 1
119119

120120
# Merge platform-specific images into multi-arch manifest
121-
merge:
122-
name: Create Multi-Arch Manifest
121+
manifest:
122+
name: Manifest
123123
runs-on: ubuntu-latest
124124
needs: build
125125
if: github.event_name != 'pull_request'
@@ -177,9 +177,9 @@ jobs:
177177
178178
# Generate SBOM after manifest is created
179179
sbom:
180-
name: Generate SBOM
180+
name: SBOM
181181
runs-on: ubuntu-latest
182-
needs: merge
182+
needs: manifest
183183
if: github.event_name != 'pull_request'
184184
steps:
185185
- name: Harden the runner (Audit all outbound calls)
@@ -218,8 +218,8 @@ jobs:
218218

219219
# Scan container for vulnerabilities
220220
scan:
221-
name: Scan Container
222-
needs: merge
221+
name: Scan
222+
needs: manifest
223223
runs-on: ubuntu-latest
224224
if: github.event_name != 'pull_request'
225225
permissions:
Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# yaml-language-server: $schema=https://www.schemastore.org/github-workflow.json
22

3-
name: Nightly Release
3+
name: Nightly
44

55
on:
66
schedule:
@@ -25,7 +25,7 @@ env:
2525
jobs:
2626
# Check if there are changes since the last nightly
2727
check-changes:
28-
name: Check for Changes
28+
name: Changes
2929
runs-on: ubuntu-latest
3030
outputs:
3131
should_run: ${{ steps.check.outputs.should_run }}
@@ -76,7 +76,7 @@ jobs:
7676
7777
# Compute nightly version from release-please manifest
7878
version:
79-
name: Compute Version
79+
name: Version
8080
needs: check-changes
8181
if: needs.check-changes.outputs.should_run == 'true'
8282
runs-on: ubuntu-latest
@@ -111,7 +111,7 @@ jobs:
111111
112112
# Create GitHub pre-release
113113
create-release:
114-
name: Create Pre-Release
114+
name: Release
115115
needs: version
116116
runs-on: ubuntu-latest
117117
permissions:
@@ -154,7 +154,7 @@ jobs:
154154
155155
# Build release binaries for multiple platforms
156156
build-binaries:
157-
name: Build Binaries (${{ matrix.target }})
157+
name: Build (${{ matrix.target }})
158158
needs: [version, create-release]
159159
runs-on: ${{ matrix.os }}
160160
permissions:
@@ -260,7 +260,7 @@ jobs:
260260
261261
# Build and push Docker images
262262
build-docker:
263-
name: Build Docker (${{ matrix.platform }})
263+
name: Docker (${{ matrix.platform }})
264264
needs: [version, create-release]
265265
strategy:
266266
fail-fast: false
@@ -331,7 +331,7 @@ jobs:
331331

332332
# Merge platform-specific images into multi-arch manifest
333333
merge-docker:
334-
name: Create Multi-Arch Manifest
334+
name: Docker Manifest
335335
runs-on: ubuntu-latest
336336
needs: [version, build-docker]
337337
steps:
@@ -378,7 +378,7 @@ jobs:
378378
379379
# Generate SBOM for Docker image
380380
sbom-docker:
381-
name: Generate Docker SBOM
381+
name: Docker SBOM
382382
runs-on: ubuntu-latest
383383
needs: [version, merge-docker]
384384
steps:
@@ -413,7 +413,7 @@ jobs:
413413
414414
# Cleanup old nightly releases (keep last 7)
415415
cleanup:
416-
name: Cleanup Old Nightlies
416+
name: Cleanup
417417
runs-on: ubuntu-latest
418418
needs: [sbom-docker]
419419
steps:

.github/workflows/pr-title.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ permissions:
1010
pull-requests: write
1111

1212
jobs:
13-
normalize-bot-titles:
14-
name: Normalize Bot PR Titles
13+
normalize:
14+
name: Normalize
1515
runs-on: ubuntu-latest
1616
# Only run for bot PRs with non-conventional titles
1717
if: >

.github/workflows/release-please.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040

4141
# Trigger stable release workflow when release-please creates a release
4242
release:
43-
name: Trigger Release
43+
name: Release
4444
needs: release-please
4545
if: ${{ needs.release-please.outputs.release_created == 'true' }}
4646
uses: ./.github/workflows/release.yml

.github/workflows/release.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ env:
3636
jobs:
3737
# Determine version from trigger source
3838
prepare:
39-
name: Prepare Release
39+
name: Prepare
4040
runs-on: ubuntu-latest
4141
outputs:
4242
version: ${{ steps.version.outputs.version }}
@@ -70,7 +70,7 @@ jobs:
7070
7171
# Create GitHub release (only for workflow_dispatch; release-please creates its own)
7272
create-release:
73-
name: Create Release
73+
name: Release
7474
needs: prepare
7575
runs-on: ubuntu-latest
7676
if: github.event_name == 'workflow_dispatch'
@@ -92,7 +92,7 @@ jobs:
9292

9393
# Build release binaries for multiple platforms
9494
build-binaries:
95-
name: Build Binaries (${{ matrix.target }})
95+
name: Build (${{ matrix.target }})
9696
needs: prepare
9797
runs-on: ${{ matrix.os }}
9898
permissions:
@@ -211,7 +211,7 @@ jobs:
211211

212212
# Aggregate hashes for SLSA provenance
213213
aggregate-hashes:
214-
name: Aggregate Hashes
214+
name: Hashes
215215
needs: [prepare, build-binaries]
216216
runs-on: ubuntu-latest
217217
outputs:
@@ -239,7 +239,7 @@ jobs:
239239
240240
# Generate SLSA provenance for binaries
241241
provenance:
242-
name: Generate SLSA Provenance
242+
name: Provenance
243243
needs: [prepare, build-binaries, aggregate-hashes]
244244
permissions:
245245
actions: read
@@ -253,7 +253,7 @@ jobs:
253253

254254
# Build and push Docker images to both Docker Hub and GitHub Container Registry
255255
build-docker:
256-
name: Build Docker (${{ matrix.platform }})
256+
name: Docker (${{ matrix.platform }})
257257
needs: prepare
258258
strategy:
259259
fail-fast: false
@@ -323,7 +323,7 @@ jobs:
323323

324324
# Merge platform-specific images into multi-arch manifest and push to both registries
325325
merge-docker:
326-
name: Create Multi-Arch Manifest
326+
name: Docker Manifest
327327
runs-on: ubuntu-latest
328328
needs: [prepare, build-docker]
329329
permissions:
@@ -414,7 +414,7 @@ jobs:
414414
415415
# Generate SBOM for Docker image
416416
sbom-docker:
417-
name: Generate Docker SBOM
417+
name: Docker SBOM
418418
runs-on: ubuntu-latest
419419
needs: [prepare, merge-docker]
420420
permissions:
@@ -454,7 +454,7 @@ jobs:
454454
455455
# Publish crates to crates.io
456456
publish-crates:
457-
name: Publish to crates.io
457+
name: Publish
458458
needs: [prepare, build-binaries]
459459
runs-on: ubuntu-latest
460460
environment: release

0 commit comments

Comments
 (0)