Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 1.71 KB

File metadata and controls

42 lines (27 loc) · 1.71 KB

data.github.actions.workflows.name - Check name keys for workflow, job and steps

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.

References

data.github.actions.workflows.setup_version - Check that *-version in setup-* actions is a string

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!

References

data.github.actions.workflows.utils - Utility helpers for github.actions.workflows packages

Utility helpers for github.actions.workflows packages providing common code for dealing with GitHub Actions workflows.

References