1
0
Fork 0
mirror of https://github.com/roles-ansible/ansible_role_avahi_client.git synced 2024-08-16 16:09:49 +02:00

Changing linting action

This commit is contained in:
L3D 2023-10-05 21:44:41 +02:00
parent 6ec6c6fccd
commit 67b75f2a8e
No known key found for this signature in database
GPG key ID: AD65B920933B4B20

View file

@ -2,26 +2,22 @@
name: Ansible Lint check
# yamllint disable-line rule:truthy
on:
push:
branches: '*'
pull_request:
branches: '*'
on: [push, pull_request]
jobs:
build:
name: Ansible Lint
runs-on: ubuntu-latest
steps:
- name: 'checkout git repo'
uses: actions/checkout@v3
uses: actions/checkout@v4.1.0
with:
lfs: true
submodules: true
fetch-depth: 0
- name: 'Lint Ansible Playbook'
uses: ansible/ansible-lint-action@v6
- name: Run ansible-lint
uses: ansible-actions/ansible-lint-action@v0.0.2
with:
path: "."
target: "./"