fix(cicd): create tf plugin cache so tf format check can see it
This commit is contained in:
parent
2d7c2a7b6e
commit
ba83c03b6d
1 changed files with 3 additions and 3 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue