Skip to content

update github action versions #41

update github action versions

update github action versions #41

Workflow file for this run

---
name: Ansible Lint
on:
push:
paths:
- "**.yaml"
- "**.yml"
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ansible-lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v6
with:
fetch-depth: 1
- name: Set up python
uses: actions/setup-python@v6
with:
python-version: "3.13"
- name: Install dependencies
run: |
pip install --upgrade pip
pip install -r requirements.txt
- name: Run ansible-lint
run: ansible-lint
- name: Run playbook syntax check
run: |
for file in $(find playbooks -name "*.yaml"); do
ansible-playbook --syntax-check "$file" || exit 1
done