zuul: add manager-less deployment #984
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Check terraform syntax | |
"on": | |
push: | |
paths: | |
- 'terraform/**' | |
- '.github/workflows/check-terraform-syntax.yml' | |
branches: | |
- main | |
pull_request: | |
paths: | |
- 'terraform/**' | |
- '.github/workflows/check-terraform.yml' | |
jobs: | |
check-terraform-syntax: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup terraform | |
uses: hashicorp/setup-terraform@v2 | |
with: | |
terraform_version: 1.5.6 # renovate: datasource=github-tags depName=hashicorp/terraform | |
- name: Terraform validate | |
run: make validate | |
working-directory: ./terraform | |
env: | |
ENVIRONMENT: default | |
- name: Terraform format | |
run: terraform fmt -check | |
working-directory: ./terraform |