File tree Expand file tree Collapse file tree 1 file changed +0
-30
lines changed
Expand file tree Collapse file tree 1 file changed +0
-30
lines changed Original file line number Diff line number Diff line change 88 - master
99
1010jobs :
11- lint :
12- runs-on : ubuntu-latest
13- strategy :
14- fail-fast : false
15- matrix :
16- ansible :
17- - " 2.9"
18- - " 2.10"
19- - " 2.12"
20- steps :
21- # Checks-out the repository under $GITHUB_WORKSPACE, so it's accessible to the job
22- - uses : actions/checkout@v3
23-
24- - name : Install dependencies
25- run : |
26- pipx uninstall ansible-core
27- python3 -m pip install --upgrade pip
28- if [[ "${{ matrix.ansible }}" = "2.9" ]]; then
29- ansible_package=ansible
30- elif [[ "${{ matrix.ansible }}" = "2.10" ]]; then
31- ansible_package=ansible
32- else
33- ansible_package=ansible-core
34- fi
35- pip3 install $ansible_package==${{ matrix.ansible }}.* 'ansible-lint==5.*'
36-
37- - name : Linting code
38- run : |
39- ansible-lint -v --force-color
40-
4111 integration :
4212 runs-on : ubuntu-latest
4313 strategy :
You can’t perform that action at this time.
0 commit comments