From 77066def09089eccc259ededc71895a095a0ebdf Mon Sep 17 00:00:00 2001 From: sotos Date: Tue, 16 Dec 2025 09:47:15 +0100 Subject: [PATCH] ci/cd --- .gitea/workflows/yamllint.yml | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) diff --git a/.gitea/workflows/yamllint.yml b/.gitea/workflows/yamllint.yml index 0a63912..082225b 100644 --- a/.gitea/workflows/yamllint.yml +++ b/.gitea/workflows/yamllint.yml @@ -13,21 +13,14 @@ jobs: - name: Checkout code uses: actions/checkout@v4 - - name: Install linters + - name: Install linters system-wide + run: apk add --no-cache py3-yamllint py3-ansible-lint git bash + + - name: Run linters run: | - apk add --no-cache python3 py3-pip bash git - python3 -m venv venv # venv module is included - . venv/bin/activate - pip install --upgrade pip - pip install yamllint ansible-lint yamllint . - ansible-lint ../../ansible/playbooks + ansible-lint ansible/playbooks - - name: YAML lint - run: yamllint . - - - name: Ansible lint - run: ansible-lint infrastructure/playbooks build: runs-on: docker