Skip to content

Commit

Permalink
show ansible lint diff in the CI
Browse files Browse the repository at this point in the history
  • Loading branch information
aktech committed Sep 30, 2024
1 parent ad21394 commit c3935ab
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check ansible-lint diff
uses: ansible/[email protected]
with: --fix

- name: Check ansible lint diff and undo
run: |
# Check diff in the CI
git diff
# Undo diff to run ansible lint in the next step
git checkout -- .
- name: Run ansible-lint
uses: ansible/ansible-lint@main
uses: ansible/ansible-lint@v24.9.2

0 comments on commit c3935ab

Please sign in to comment.