homeserver/.gitea/workflows/ansible-lint.yaml
Michael Grote 334f38f6f5
All checks were successful
ansible-lint / ansible-lint (push) Successful in 44s
gitleaks / gitleaks (push) Successful in 5s
ansible-lint / ansible-lint (pull_request) Successful in 44s
gitleaks / gitleaks (pull_request) Successful in 5s
d
2024-08-22 21:53:21 +02:00

28 lines
705 B
YAML

name: ansible-lint
on: [push, pull_request]
jobs:
ansible-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: write ssh-key
run: echo $${SSHKEY} > ./id_ed25519
- name: set ssh-key permissions
run: chmod 0400 ./id_ed25519
- name: write vault-pass
run: echo $${VAULTPASS} > ./vault-pass
- name: Debug
run: ls -lahR ; cat ./vault-pass
- name: run ansible-lint
uses: docker://registry.mgrote.net/ansible-devspace:latest
with:
args: ansible-lint --force-color --format pep8 --show-relpath
# SSHKEY + VAULTPASS sind als Secrets auf Repo-Ebene angelegt