fix(cicd): create tf plugin cache so tf format check can see it
Some checks failed
Terraform CI/CD / Terraform Format, Validate, Lint, Scan (push) Failing after 6m9s
Terraform CI/CD / Terraform Plan (push) Has been skipped
Terraform CI/CD / Terraform Apply (push) Has been skipped

This commit is contained in:
Ben Martin 2025-04-20 10:21:34 +00:00
parent 2d7c2a7b6e
commit ba83c03b6d
Signed by: ben
GPG key ID: 859A655FCD290E4A

View file

@ -29,15 +29,15 @@ jobs:
- name: Setup Nomad
uses: hashicorp/setup-nomad@main
- name: Create Terraform Plugin Cache Dir
run: mkdir -v -p $TF_PLUGIN_CACHE_DIR
- name: Terraform Format Check
run: terraform fmt -check -recursive
- name: Nomad fmt
run: nomad fmt -recursive -check
- name: Create Terraform Plugin Cache Dir
run: mkdir -v -p $TF_PLUGIN_CACHE_DIR
- name: Cache Terraform Plugin Dir
uses: actions/cache@v4
with: