1
0
Fork 0
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:
L3D 2023-04-21 13:55:27 +02:00
parent f83397998e
commit c1dc0f0d23
Signed by: l3d
GPG key ID: CD08445BFF4313D1

View file

@ -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: "."