Skip to content

Bump pre-commit repos (#9) #29

Bump pre-commit repos (#9)

Bump pre-commit repos (#9) #29

Workflow file for this run

---
name: Lint Ansible playbooks
on:
push:
branches: [main]
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: Setup Python
uses: actions/setup-python@82c7e631bb3cdc910f68e0081d67478d79c6982d # v5.1.0
with:
python-version: 3.x
allow-prereleases: true
cache: pip
cache-dependency-path: pyproject.toml
- name: Install dependencies
run: python -m pip install .[ansible,lint_ansible]
- name: Run ansible lint
run: |-
cd ansible
ansible-lint --offline