diff --git a/.github/workflows/yamllint.yaml b/.github/workflows/yamllint.yaml index 0c887c2c..802c0eee 100644 --- a/.github/workflows/yamllint.yaml +++ b/.github/workflows/yamllint.yaml @@ -14,4 +14,4 @@ jobs: steps: - uses: actions/checkout@v4 - name: Validate YAML file - run: yamllint -c .yamllint . + run: make lint-yaml diff --git a/Makefile b/Makefile index b5148e82..77c60695 100644 --- a/Makefile +++ b/Makefile @@ -144,6 +144,11 @@ arch: build dgoss-sha256: cd extras/dgoss/ && sha256sum dgoss > dgoss.sha256 +.PHONY: lint-yaml +lint-yaml: + $(info INFO: Starting $@) + yamllint -c .yamllint . + $(PYTHON): $(info Creating virtualenv in $(VENV)) @python -m venv $(VENV)