Skip to content

⬆️ Bump actions/setup-java from 4.5.0 to 4.6.0 #181

⬆️ Bump actions/setup-java from 4.5.0 to 4.6.0

⬆️ Bump actions/setup-java from 4.5.0 to 4.6.0 #181

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.1.2 # 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