Skip to content

Commit

Permalink
Merge pull request #514 from nutanix/imprv/issue#458
Browse files Browse the repository at this point in the history
Adding lint checks in pull requests pipelines
  • Loading branch information
george-ghawali authored Oct 8, 2024
2 parents a8ab0f3 + 3a62c53 commit 2457d0f
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 2457d0f

Please sign in to comment.