ci/cd
Some checks failed
CI/CD Pipeline / lint (push) Failing after 5s
CI/CD Pipeline / build (push) Has been skipped
CI/CD Pipeline / deploy (push) Has been skipped

This commit is contained in:
sotos
2025-12-16 09:47:15 +01:00
parent eb603ee508
commit 77066def09

View File

@@ -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