Update README.md #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ansible-lint | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: Ansible Lint # Naming the build is important to use it as a status check | |
runs-on: ubuntu-latest | |
steps: | |
# Important: This sets up your GITHUB_WORKSPACE environment variable | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 # needed for progressive mode to work | |
- name: Run ansible-lint | |
# replace `main` with any valid ref, or tags like `v6` | |
uses: ansible/ansible-lint-action@v6.16.0 | |
# optional: | |
# with: | |
# path: "playbooks/" # <-- only one value is allowed |