Skip to content

Commit

Permalink
add ansible-lint to CI
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanspw committed May 30, 2024
1 parent 66e694a commit cc7c368
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/ansible-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# .github/workflows/ansible-lint.yml
name: ansible-lint
on:
pull_request:
branches: ["master"]
push:
jobs:
build:
name: Ansible Lint # Naming the build is important to use it as a status check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: ansible-galaxy install -r requirements.yml
- name: Run ansible-lint
uses: ansible/ansible-lint@main # or version tag instead of 'main'

0 comments on commit cc7c368

Please sign in to comment.