Commit 29d08f6
committed
Explicitly define names for build jobs in Go release workflows
The release workflows for Go-based projects use a matrix job to perform the build for each target host architecture. The
matrix data is defined by a mapping.
When a job name is not explicitly defined in the workflow GitHub Actions automatically generates the job name from the
job ID and the matrix data. In cases where there is no matrix, or when the matrix data is a simple sequence of strings,
that job name is often adequate. However, when the matrix data is more complex, the automatically generated name becomes
overly verbose and cryptic (e.g., "create-nightly-artifacts (macOS_ARM64, macOS_ARM64, ubuntu-24.04-arm)"), harming the
readability of the logs. In this case, an explicit human-friendly job name should be defined in the workflow.1 parent 79dc9a6 commit 29d08f6
File tree
3 files changed
+3
-0
lines changed- workflow-templates
3 files changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
0 commit comments