Skip to content

Commit a6434df

Browse files
committed
fix: add missing jmespath dependency to ansible action
1 parent e60ef32 commit a6434df

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/workflows/ansible-linter.yaml

+10-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
branches:
66
- main
7+
- fix/ansible-lint
78

89

910
jobs:
@@ -12,11 +13,19 @@ jobs:
1213
runs-on: ubuntu-latest
1314
steps:
1415
- uses: actions/checkout@v4
16+
17+
- name: Install dependencies
18+
run: |
19+
sudo apt-get update
20+
sudo apt-get --assume-yes --no-install-recommends install python3-pip
21+
python3 -m pip install --user -U ansible ansible-lint jmespath
22+
1523
- name: Run ansible-lint
1624
uses: ansible/ansible-lint@main # or version tag instead of 'main'
25+
1726
- name: Upload sarif
1827
if: always()
1928
uses: github/codeql-action/upload-sarif@v2
2029
with:
2130
sarif_file: ansible.sarif
22-
category: ansible-lint
31+
category: ansible-lint

0 commit comments

Comments
 (0)