Skip to content

Commit

Permalink
fix: add missing jmespath dependency to ansible action
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaspalma committed Dec 30, 2024
1 parent e60ef32 commit a6434df
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ansible-linter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- fix/ansible-lint


jobs:
Expand All @@ -12,11 +13,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get --assume-yes --no-install-recommends install python3-pip
python3 -m pip install --user -U ansible ansible-lint jmespath
- name: Run ansible-lint
uses: ansible/ansible-lint@main # or version tag instead of 'main'

- name: Upload sarif
if: always()
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: ansible.sarif
category: ansible-lint
category: ansible-lint

0 comments on commit a6434df

Please sign in to comment.