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

23 lines
523 B
YAML
Raw Normal View History

2024-08-22 21:44:44 +02:00
name: ansible-lint
2024-08-22 22:01:32 +02:00
on:
push:
branches: [ master ]
pull_request:
2024-08-22 21:44:44 +02:00
jobs:
ansible-lint:
2024-08-22 21:50:45 +02:00
runs-on: ubuntu-latest
2024-08-22 21:44:44 +02:00
steps:
- name: Checkout code
uses: actions/checkout@v3
2024-08-22 21:48:29 +02:00
- name: write vault-pass
2024-08-22 21:57:09 +02:00
run: echo ${{ secrets.VAULTPASS }} > ./vault-pass
2024-08-22 21:48:29 +02:00
- name: run ansible-lint
uses: docker://registry.mgrote.net/ansible-devspace:latest
2024-08-22 21:51:15 +02:00
with:
args: ansible-lint --force-color --format pep8 --show-relpath
2024-08-22 21:45:25 +02:00
2024-08-22 21:54:48 +02:00
# VAULTPASS ist als Secrets auf Repo-Ebene angelegt