fix ansible-lint failures #34
Workflow file for this run
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: pre-commit | |
on: | |
pull_request: | |
push: | |
jobs: | |
pre-commit: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout repo | |
uses: actions/checkout@v4 | |
- name: setup python for pre-commit action | |
uses: actions/setup-python@v5 | |
- name: install linter with mise | |
uses: jdx/mise-action@v2 | |
with: | |
experimental: true | |
- name: run pre-commit | |
uses: pre-commit/[email protected] | |
- name: run ansible-lint | |
uses: ansible/[email protected] | |
env: | |
ANSIBLE_HOME: ./ansible |