homeserver/.gitea/workflows/ansible-lint.yaml
2024-08-22 21:45:25 +02:00

24 lines
599 B
YAML

name: ansible-lint
run-name: ansible-lint
on: [push, pull_request]
jobs:
ansible-lint:
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Run ansible-lint
uses: docker://registry.mgrote.net/ansible-devspace:latest
run: |
# Secrets
echo $${SSHKEY} # debug
echo $${SSHKEY} > ./id_ed25519
chmod 0400 ./id_ed25519
echo $${VAULTPASS} > ./vault-pass
# Doing
ansible-lint --force-color --format pep8 --show-relpath
# SSHKEY + VAULTPASS sind als Secrets auf Repo-Ebene angelegt