Skip to content

refactor: Use one workflow for PRs and pushes #28

refactor: Use one workflow for PRs and pushes

refactor: Use one workflow for PRs and pushes #28

Workflow file for this run

name: PR
on:
pull_request:
branches:
- main
paths-ignore:
- .editorconfig
- .gitignore
- CHANGELOG.md
- LICENSE.md
- Makefile
- README.md
jobs:
verify:
name: Verify
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v5
- name: Setup Terraform
uses: hashicorp/setup-terraform@v3
with:
terraform_version: "1.12"
- name: Initialise with no backend
run: terraform init -backend=false
- name: Check formatting
run: terraform fmt -check -recursive
- name: Validate the configuration
run: terraform validate