Rapid-fire: how do you validate a GitHub Actions workflow locally?
BeginnerProductionRapid-Fire Commands
Answer
actionlint # static checks for all workflows
actionlint -shellcheck= # skip embedded shellcheck
zizmor .github/workflows # security audit of workflows
act pull_request -j test # run a job locally with Docker
More on Rapid-Fire Commands
Rapid-fire: how do you trigger a GitHub Actions workflow from the CLI and watch it?BeginnerRapid-fire: how do you list and manage GitHub secrets and variables via CLI?BeginnerRapid-fire: how do you validate a `.gitlab-ci.yml` and trigger a pipeline from the CLI?BeginnerRapid-fire: how do you trigger a Jenkins job remotely with parameters?IntermediateRapid-fire: how do you validate a Declarative Jenkinsfile from the command line?IntermediateRapid-fire: how do you install pinned Jenkins plugins and list installed ones?Intermediate