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:
parent
6ec6c6fccd
commit
67b75f2a8e
1 changed files with 6 additions and 10 deletions
16
.github/workflows/ansible-linting-check.yml
vendored
16
.github/workflows/ansible-linting-check.yml
vendored
|
@ -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: "./"
|
||||
|
|
Loading…
Reference in a new issue