File tree Expand file tree Collapse file tree 1 file changed +0
-35
lines changed Expand file tree Collapse file tree 1 file changed +0
-35
lines changed Original file line number Diff line number Diff line change 1010 ANSIBLE_FORCE_COLOR : true
1111
1212jobs :
13- lint :
14- runs-on : ubuntu-latest
15- strategy :
16- fail-fast : false
17- matrix :
18- ansible :
19- - " 2.9"
20- - " 2.10"
21- - " 2.12"
22- steps :
23- # Checks-out the repository under $GITHUB_WORKSPACE, so it's accessible to the job
24- - uses : actions/checkout@v3
25-
26- - uses : actions/setup-python@v4
27-
28- - name : Install dependencies
29- run : |
30- python -m pip install --upgrade pip
31- if [[ "${{ matrix.ansible }}" = "2.9" ]]; then
32- ansible_package=ansible
33- elif [[ "${{ matrix.ansible }}" = "2.10" ]]; then
34- ansible_package=ansible-base
35- else
36- ansible_package=ansible-core
37- fi
38- pip install $ansible_package==${{ matrix.ansible }}.* 'ansible-lint==5.*'
39-
40- - name : Install Ansible Galaxy dependencies
41- run : |
42- ansible-galaxy collection install pulp.squeezer
43-
44- - name : Linting code
45- run : |
46- ansible-lint -v --force-color
47-
4813 integration :
4914 runs-on : ubuntu-latest
5015 strategy :
You can’t perform that action at this time.
0 commit comments