File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1010 branches : [master]
1111jobs :
1212 ansible-syntax :
13+ strategy :
14+ matrix :
15+ include :
16+ - ansible_version : " 2.16"
17+ python_version : " 3.12"
18+ - ansible_version : " 2.17"
19+ python_version : " 3.12"
20+ - ansible_version : " 2.18"
21+ python_version : " 3.12"
1322 runs-on : ubuntu-latest
1423 name : Ansible Syntax Check
1524
@@ -22,12 +31,13 @@ jobs:
2231 - name : Set up Python
2332 uses : actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4
2433 with :
25- python-version : " 3.11 "
34+ python-version : ${{ matrix.python_version }}
2635
2736 - name : Install Ansible
2837 run : |
2938 python -m pip install --upgrade pip
30- pip install ansible ansible-lint
39+ pip install https://github.com/ansible/ansible/archive/stable-${{ matrix.ansible_version }}.tar.gz --disable-pip-version-check
40+ pip install ansible-lint
3141
3242 - name : Install PAN-OS collection
3343 run : |
You can’t perform that action at this time.
0 commit comments