mirror of
https://github.com/DO1JLR/ansible_playbook_servers.git
synced 2024-09-14 19:53:56 +02:00
25 lines
532 B
YAML
25 lines
532 B
YAML
|
---
|
||
|
name: Ansible Lint check
|
||
|
|
||
|
# yamllint disable-line rule:truthy
|
||
|
on: [push, pull_request]
|
||
|
|
||
|
jobs:
|
||
|
build:
|
||
|
name: Ansible Lint
|
||
|
runs-on: ubuntu-latest
|
||
|
|
||
|
steps:
|
||
|
- name: Checkout git repo
|
||
|
uses: actions/checkout@v4
|
||
|
with:
|
||
|
submodules: true
|
||
|
fetch-depth: 0
|
||
|
|
||
|
- name: Run ansible-lint
|
||
|
uses: ansible-actions/ansible-lint-action@v1.0.2
|
||
|
with:
|
||
|
target: "site.yml"
|
||
|
python_dependency_file: 'requirements.txt'
|
||
|
collections_yml: 'requirements.yml'
|