File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ name : Pull request
3+ ' on ' :
4+ pull_request :
5+ jobs :
6+ lint :
7+ runs-on : ubuntu-22.04
8+ permissions : {}
9+ strategy :
10+ fail-fast : false
11+ matrix :
12+ include :
13+ # NOTE(upgrade): Keep these in sync with Kayobe's supported Ansible and Python versions (see release notes).
14+ - ansible : " 2.16"
15+ python : " 3.12"
16+ name : Ansible ${{ matrix.ansible }} lint with Python ${{ matrix.python }}
17+ steps :
18+ - name : GitHub Checkout 🛎
19+ uses : actions/checkout@v4
20+
21+ - name : Setup Python ${{ matrix.python-version }} 🐍
22+ uses : actions/setup-python@v4
23+ with :
24+ python-version : ${{ matrix.python }}
25+
26+ - name : Install dependencies 📦
27+ run : |
28+ python -m pip install --upgrade pip
29+ pip install ansible-core==${{ matrix.ansible }}.* ansible-lint
30+
31+ - name : Linting code 🧪
32+ run : |
33+ ansible-lint -v --force-color
You can’t perform that action at this time.
0 commit comments