Skip to content

⬆️ Bump peter-evans/create-pull-request from 6.0.2 to 6.0.3 #8

⬆️ Bump peter-evans/create-pull-request from 6.0.2 to 6.0.3

⬆️ Bump peter-evans/create-pull-request from 6.0.2 to 6.0.3 #8

Workflow file for this run

name: Validate infrastructure
on:
push:
branches: [ main ]
paths:
- '.github/workflows/**'
- 'infrastructure/**'
pull_request:
branches: [ main ]
paths:
- '.github/workflows/**'
- 'infrastructure/**'
jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Terraform
uses: hashicorp/setup-terraform@v3.0.0 # see https://github.com/hashicorp/setup-terraform
- name: Init
working-directory: infrastructure
run: terraform init
- name: Validate
working-directory: infrastructure
run: terraform validate -no-color
- name: Format
working-directory: infrastructure
run: terraform fmt --check