mirror of
https://github.com/willshersystems/ansible-sshd
synced 2024-11-15 07:50:18 +01:00
d84bc14fdd
Ansible 2.7 is no longer maintained and ansible-lint requires >=2.8
38 lines
929 B
YAML
38 lines
929 B
YAML
name: Ansible Lint # feel free to pick your own name
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test-ansible28:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- 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:
|
|
- 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: ""
|
|
test-ansible210:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Lint Ansible Playbook
|
|
uses: ansible/ansible-lint-action@master
|
|
with:
|
|
targets: "tests/test.yml"
|
|
override-deps: |
|
|
ansible==2.10
|
|
args: ""
|