From b8968fa2817e9272400e2cfe99594722c2f595f8 Mon Sep 17 00:00:00 2001 From: dklimpel <5740567+dklimpel@users.noreply.github.com> Date: Sat, 13 Jul 2024 23:23:41 +0200 Subject: [PATCH] use makefile --- .github/workflows/yamllint.yaml | 2 +- Makefile | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) 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)