Skip to content

Commit

Permalink
Adding lint checks in pull requests pipelines
Browse files Browse the repository at this point in the history
  • Loading branch information
george-ghawali committed Oct 7, 2024
1 parent a8ab0f3 commit 3a62c53
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/ansible-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: ansible-lint
on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
build:
name: Ansible Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.x (latest)
uses: actions/setup-python@v2
with:
python-version: 3.x
- name: Run ansible-lint
uses: ansible/ansible-lint@main

0 comments on commit 3a62c53

Please sign in to comment.