mirror of
https://github.com/whekin/household-bot.git
synced 2026-03-31 13:54:02 +00:00
feat(WHE-28): add terraform baseline for cloud run and scheduler
This commit is contained in:
22
.github/workflows/ci.yml
vendored
22
.github/workflows/ci.yml
vendored
@@ -75,3 +75,25 @@ jobs:
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
terraform:
|
||||
name: Terraform / validate
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Terraform
|
||||
uses: hashicorp/setup-terraform@v3
|
||||
with:
|
||||
terraform_version: 1.8.5
|
||||
|
||||
- name: Terraform format check
|
||||
run: terraform -chdir=infra/terraform fmt -check -recursive
|
||||
|
||||
- name: Terraform validate
|
||||
run: |
|
||||
terraform -chdir=infra/terraform init -backend=false
|
||||
terraform -chdir=infra/terraform validate
|
||||
|
||||
Reference in New Issue
Block a user