-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Labels
ideaIdea for future features/improvmentsIdea for future features/improvments
Description
Summary
Add nox task and an extra step to the CI workflow to ensure that the GitHub workflows/actions are valid.
Details
The most basic validation could involve checking the validity of the YAML files, for example by using appropriate linting tools.
Background & Context
Debugging and finding errors in actions and workflows can be tedious, as they usually only surface after being pushed or executed. Adding some way to validate them locally and in the CI pipeline would be beneficial.
Proposed Solution
- Integrate a linting tool for validating YAML files in the CI pipeline.
- Ensure that the GitHub workflows and actions are tested for validity before changes are merged or pushed.
Attention:
make sure the workflows of the workspace
.github/workflowsas well as the templatesexasol/toolbox/templates/github/workflowsare checked
Potential Tools
- actionlint: A static checker for GitHub Actions workflow files.
- yamllint: A linter for YAML files.
- act: A tool to run GitHub Actions locally.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ideaIdea for future features/improvmentsIdea for future features/improvments