GitHub Actions workflows permit to have name
keys for workflows, jobs and
steps.
The name
field serves as a short description of workflow/job/step and it
is used in several ways in the UI of GitHub Actions.
Enforcing that is always present make the GitHub Actions workflow more
readable and avoid machine-generated name
that can be hard to follow.
The *-version
parameters in GitHub Actions workflows setup-*
should be
a string in order to properly work with versions.
By omitting string in YAML it can fallback to be parsed as a float and
accidentally truncate any possible trailing 0
.
For example, by using go-version: 1.20
intended to require Go 1.20
it will be actually parsed as go-version: 1.2
and Go 1.2
will
be used instead!
- GitHub - actions/setup-go
- GitHub - actions/setup-java
- GitHub - actions/setup-node
- GitHub - actions/setup-python
Utility helpers for github.actions.workflows packages providing common code for dealing with GitHub Actions workflows.