Skip to content

Update hashicorp/setup-terraform action to v3 #46

Update hashicorp/setup-terraform action to v3

Update hashicorp/setup-terraform action to v3 #46

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@v3
- name: Setup Python
uses: actions/setup-python@v4
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