Skip to content

Commit 088f74c

Browse files
committed
Update hashicorp/setup-terraform to v2
Signed-off-by: Khosrow Moossavi <khos2ow@gmail.com>
1 parent ee80e86 commit 088f74c

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -108,11 +108,8 @@ jobs:
108108
uses: actions/checkout@v3
109109

110110
- name: Terraform format
111-
uses: hashicorp/terraform-github-actions@master
111+
uses: hashicorp/setup-terraform@v2
112112
with:
113-
tf_actions_working_dir: examples
114-
tf_actions_version: '0.12.17'
115-
tf_actions_subcommand: 'fmt'
116-
tf_actions_comment: true
117-
env:
118-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
113+
terraform_version: '0.12.17'
114+
115+
- run: terraform fmt examples

0 commit comments

Comments
 (0)