From 02c04f3052a69d26d462cd584b04783de5586de2 Mon Sep 17 00:00:00 2001 From: ahmadali shafiee Date: Sat, 4 Apr 2020 07:41:01 +0000 Subject: [PATCH] test on ansible 2.7 to 2.10 --- .github/workflows/ansible-lint.yml | 37 +++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ansible-lint.yml b/.github/workflows/ansible-lint.yml index 3c9102d..91911be 100644 --- a/.github/workflows/ansible-lint.yml +++ b/.github/workflows/ansible-lint.yml @@ -3,7 +3,7 @@ name: Ansible Lint # feel free to pick your own name on: [push, pull_request] jobs: - test: + test-ansible27: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 @@ -11,4 +11,39 @@ jobs: uses: ansible/ansible-lint-action@master with: targets: "tests/test.yml" + override-deps: | + ansible==2.7 + args: "" + 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: ""