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

23 lines
427 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:
2023-10-28 00:16:35 +02:00
- name: Checkout git repo
uses: actions/checkout@v4
2023-07-31 16:52:24 +02:00
with:
2023-10-28 00:16:35 +02:00
submodules: true
2023-07-31 16:52:24 +02:00
fetch-depth: 0
2020-08-28 14:01:22 +02:00
2023-10-05 22:50:28 +02:00
- name: Run ansible-lint
uses: ansible-actions/ansible-lint-action@v1.0.2
with:
2023-10-05 22:50:28 +02:00
target: "./"