mirror of
https://github.com/DO1JLR/ansible_linux_desktop_setup.git
synced 2024-09-14 19:54:51 +02:00
update workflow
This commit is contained in:
parent
f83397998e
commit
c1dc0f0d23
1 changed files with 15 additions and 6 deletions
21
.github/workflows/ansible-linting-check.yml
vendored
21
.github/workflows/ansible-linting-check.yml
vendored
|
@ -2,7 +2,11 @@
|
||||||
name: Ansible Lint check
|
name: Ansible Lint check
|
||||||
|
|
||||||
# yamllint disable-line rule:truthy
|
# yamllint disable-line rule:truthy
|
||||||
on: [push, pull_request]
|
on:
|
||||||
|
push:
|
||||||
|
branches: '*'
|
||||||
|
pull_request:
|
||||||
|
branches: '*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
@ -10,9 +14,14 @@ jobs:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- name: 'checkout git repo'
|
||||||
|
uses: actions/checkout@v3
|
||||||
- name: Lint Ansible Playbook
|
|
||||||
uses: ansible/ansible-lint-action@master
|
|
||||||
with:
|
with:
|
||||||
targets: "site.yml"
|
lfs: true
|
||||||
|
submodules: true
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
|
- name: 'Lint Ansible Playbook'
|
||||||
|
uses: ansible/ansible-lint-action@v6
|
||||||
|
with:
|
||||||
|
path: "."
|
||||||
|
|
Loading…
Reference in a new issue