1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_collection_git.git synced 2024-09-14 20:12:03 +02:00
ansible_collection_git/.github/workflows/ansible-linting-check.yml

24 lines
441 B
YAML
Raw Normal View History

2023-03-31 00:13:28 +02:00
---
name: Ansible Lint check
# yamllint disable-line rule:truthy
on: [push, pull_request]
2023-03-31 00:13:28 +02:00
jobs:
build:
name: Ansible Lint
2023-03-31 00:13:28 +02:00
runs-on: ubuntu-latest
steps:
- name: 'checkout git repo'
uses: actions/checkout@v3
2023-04-15 23:59:24 +02:00
with:
lfs: true
submodules: true
fetch-depth: 0
2023-03-31 00:13:28 +02:00
- name: 'Lint Ansible Playbook'
uses: ansible/ansible-lint-action@v6
with:
2023-04-16 00:43:43 +02:00
path: "."