From 12b254b20bd2c807aa66b691ab5a31b70c90ea33 Mon Sep 17 00:00:00 2001 From: sotos Date: Tue, 16 Dec 2025 09:48:22 +0100 Subject: [PATCH] update cicd --- .gitea/workflows/yamllint.yml | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/yamllint.yml b/.gitea/workflows/yamllint.yml index 082225b..2d041d7 100644 --- a/.gitea/workflows/yamllint.yml +++ b/.gitea/workflows/yamllint.yml @@ -12,15 +12,22 @@ jobs: steps: - name: Checkout code uses: actions/checkout@v4 - - - name: Install linters system-wide - run: apk add --no-cache py3-yamllint py3-ansible-lint git bash + + - name: Install linters + run: | + apk add --no-cache python3 py3-pip bash git + python3 -m venv venv + . venv/bin/activate + pip install --upgrade pip + pip install yamllint ansible-lint - name: Run linters run: | + . venv/bin/activate yamllint . ansible-lint ansible/playbooks + build: runs-on: docker