homeserver/.gitea/workflows/ansible-lint.yaml
2024-08-22 22:07:36 +02:00

22 lines
523 B
YAML

name: ansible-lint
on:
push:
branches: [ master ]
pull_request:
jobs:
ansible-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: write vault-pass
run: echo ${{ secrets.VAULTPASS }} > ./vault-pass
- name: run ansible-lint
uses: docker://registry.mgrote.net/ansible-devspace:latest
with:
args: ansible-lint --force-color --format pep8 --show-relpath
# VAULTPASS ist als Secrets auf Repo-Ebene angelegt