This repository has been archived by the owner on Jan 18, 2024. It is now read-only.
ansible-lint #17
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: | |
schedule: | |
# Runs automatically on the 27th of every month at 04:30 UTC | |
- cron: "30 04 27 * *" | |
jobs: | |
ansible-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Python 3 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: "3.x" | |
- name: Set up Ansible and Ansible Lint | |
run: pip3 install ansible ansible-lint | |
- name: Run Ansible Lint in strict mode | |
run: ansible-lint -s |