2021-03-12 00:30:28 +01:00
|
|
|
---
|
|
|
|
name: Ansible Lint check
|
|
|
|
|
|
|
|
# yamllint disable-line rule:truthy
|
2023-08-01 19:07:39 +02:00
|
|
|
on: [push, pull_request]
|
2021-03-12 00:30:28 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
2023-08-01 19:07:39 +02:00
|
|
|
name: Ansible Lint
|
2021-03-12 00:30:28 +01:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2023-04-21 13:55:27 +02:00
|
|
|
- name: 'checkout git repo'
|
2023-10-18 07:10:56 +02:00
|
|
|
uses: actions/checkout@v4.1.1
|
2023-04-21 13:55:27 +02:00
|
|
|
with:
|
|
|
|
lfs: true
|
|
|
|
submodules: true
|
|
|
|
fetch-depth: 0
|
2021-03-12 00:30:28 +01:00
|
|
|
|
2023-10-05 21:16:04 +02:00
|
|
|
- name: Run ansible-lint
|
2023-10-11 07:57:35 +02:00
|
|
|
uses: ansible-actions/ansible-lint-action@v0.0.3
|
2021-03-12 00:30:28 +01:00
|
|
|
with:
|
2023-10-05 22:45:54 +02:00
|
|
|
target: "site.yml"
|