mirror of
https://github.com/roles-ansible/ansible_collection_git.git
synced 2024-09-14 20:12:03 +02:00
27 lines
461 B
YAML
27 lines
461 B
YAML
---
|
|
name: Ansible Lint check
|
|
|
|
# yamllint disable-line rule:truthy
|
|
on:
|
|
push:
|
|
branches: '*'
|
|
pull_request:
|
|
branches: '*'
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- name: 'checkout git repo'
|
|
uses: actions/checkout@v3
|
|
with:
|
|
lfs: true
|
|
submodules: true
|
|
fetch-depth: 0
|
|
|
|
- name: 'Lint Ansible Playbook'
|
|
uses: ansible/ansible-lint-action@v6
|
|
with:
|
|
targets: "."
|