2020-03-29 15:44:28 +02:00
|
|
|
name: Ansible Lint # feel free to pick your own name
|
|
|
|
|
|
|
|
on: [push, pull_request]
|
|
|
|
|
|
|
|
jobs:
|
2021-04-07 20:12:03 +02:00
|
|
|
# test-ansible28:
|
|
|
|
# runs-on: ubuntu-latest
|
|
|
|
# steps:
|
|
|
|
# - name: checkout PR
|
|
|
|
# uses: actions/checkout@v2
|
|
|
|
# - name: Lint Ansible Playbook
|
|
|
|
# uses: ansible/ansible-lint-action@master
|
|
|
|
# with:
|
|
|
|
# targets: "tests/test_*.yml"
|
|
|
|
# override-deps: |
|
|
|
|
# ansible==2.8
|
|
|
|
# args: ""
|
|
|
|
# test-ansible29:
|
|
|
|
# runs-on: ubuntu-latest
|
|
|
|
# steps:
|
|
|
|
# - name: checkout PR
|
|
|
|
# uses: actions/checkout@v2
|
|
|
|
# - name: Lint Ansible Playbook
|
|
|
|
# uses: ansible/ansible-lint-action@master
|
|
|
|
# with:
|
|
|
|
# targets: "tests/test_*.yml"
|
|
|
|
# override-deps: |
|
|
|
|
# ansible==2.9
|
|
|
|
# args: ""
|
2020-04-04 09:41:01 +02:00
|
|
|
test-ansible210:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2021-04-07 20:12:03 +02:00
|
|
|
- name: checkout PR
|
|
|
|
uses: actions/checkout@v2
|
2020-09-14 17:48:04 +02:00
|
|
|
- name: Lint Ansible Playbook
|
|
|
|
uses: ansible/ansible-lint-action@master
|
|
|
|
with:
|
2020-09-23 22:25:10 +02:00
|
|
|
targets: "tests/test_*.yml"
|
2020-09-14 17:48:04 +02:00
|
|
|
override-deps: |
|
|
|
|
ansible==2.10
|
|
|
|
args: ""
|