Files
infra/.gitea/workflows/ci.yml
Adrian Cowan a13f2cef25
Some checks failed
CI / Terraform fmt + validate (push) Failing after 42s
Add Gitea act-runner and test actions for the repo
2026-04-18 18:12:39 +10:00

32 lines
686 B
YAML

name: CI
on:
pull_request:
push:
branches:
- main
jobs:
terraform-validate:
name: Terraform fmt + validate
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: hashicorp/setup-terraform@v3
- name: fmt check — 1-nixos-node
run: terraform fmt -check -recursive
working-directory: 1-nixos-node
- name: fmt check — 2-nomad-config
run: terraform fmt -check -recursive
working-directory: 2-nomad-config
- name: validate — 2-nomad-config (no backend)
run: |
terraform init -backend=false
terraform validate
working-directory: 2-nomad-config