homeserver/.gitea/workflows/ansible-lint.yaml

23 lines
536 B
YAML
Raw Normal View History

2024-08-22 21:44:44 +02:00
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