Skip to content

Update actions/setup-python action to v5 (#96) #53

Update actions/setup-python action to v5 (#96)

Update actions/setup-python action to v5 (#96) #53

Workflow file for this run

---
name: Syntax check
on:
push:
jobs:
syntax-check:
name: Syntax check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
- name: Install ansible
run: pip install -r requirements.txt
- name: Run ansible-lint
working-directory: ./deployment
run: ansible-lint
- name: Run ansible syntax-check
working-directory: ./deployment
run: ansible-playbook --syntax-check -i inventory_dev.yaml playbooks/*.yml
- uses: stefanzweifel/git-auto-commit-action@v4