gitlab-ci-linter

Validates GitLab CI/CD pipeline YAML configuration files

brewmacoslinux
Try with needOr install directly
Source

About

Command-line tool to lint GitLab CI YAML files

Commands

gitlab-ci-linter

Examples

Lint a GitLab CI YAML file for syntax errors$ gitlab-ci-linter .gitlab-ci.yml
Validate CI configuration and display detailed results$ gitlab-ci-linter lint .gitlab-ci.yml
Check CI file from a specific project path$ gitlab-ci-linter /path/to/project/.gitlab-ci.yml