1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_packages.git synced 2024-08-16 10:19:51 +02:00
ansible_role_packages/.github/workflows/ansible-linting-check.yml

24 lines
442 B
YAML
Raw Normal View History

---
2020-08-28 14:01:22 +02:00
name: Ansible Lint check
# yamllint disable-line rule:truthy
2023-07-31 16:52:24 +02:00
on: [push, pull_request]
2020-08-28 14:01:22 +02:00
jobs:
build:
2023-07-31 16:52:24 +02:00
name: Ansible Lint
2020-08-28 14:01:22 +02:00
runs-on: ubuntu-latest
steps:
2022-04-07 22:42:42 +02:00
- name: 'checkout git repo'
uses: actions/checkout@v3
2023-07-31 16:52:24 +02:00
with:
lfs: true
submodules: false
fetch-depth: 0
2020-08-28 14:01:22 +02:00
2022-04-07 22:42:42 +02:00
- name: 'Lint Ansible Playbook'
2022-04-04 13:22:46 +02:00
uses: ansible/ansible-lint-action@v6
with:
2023-07-31 16:52:24 +02:00
path: "."