Skip to content

Commit af3b06e

Browse files
authored
Update actions (#70)
1 parent 2a7a824 commit af3b06e

File tree

2 files changed

+4
-14
lines changed

2 files changed

+4
-14
lines changed

.github/workflows/validate-example.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,6 @@ on:
44
pull_request:
55
branches: [ master ]
66

7-
env:
8-
TERRAFORM_VERSION: 1.5.6
9-
107
defaults:
118
run:
129
working-directory: example
@@ -16,12 +13,10 @@ jobs:
1613
runs-on: ubuntu-latest
1714

1815
steps:
19-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
2017

21-
- name: Setup terraform ${{ env.TERRAFORM_VERSION }}
22-
uses: hashicorp/setup-terraform@v2
23-
with:
24-
terraform_version: ${{ env.TERRAFORM_VERSION }}
18+
- name: Setup Terraform CLI
19+
uses: hashicorp/setup-terraform@v3
2520

2621
- name: terraform fmt
2722
run: terraform fmt -check

.github/workflows/validate.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,15 @@ on:
44
pull_request:
55
branches: [ master ]
66

7-
env:
8-
TERRAFORM_VERSION: 1.5.6
9-
107
jobs:
118
validate:
129
runs-on: ubuntu-latest
1310

1411
steps:
1512
- uses: actions/checkout@v3
1613

17-
- name: Setup terraform ${{ env.TERRAFORM_VERSION }}
14+
- name: Setup Terraform CLI
1815
uses: hashicorp/setup-terraform@v2
19-
with:
20-
terraform_version: ${{ env.TERRAFORM_VERSION }}
2116

2217
- name: terraform fmt
2318
run: terraform fmt -check

0 commit comments

Comments
 (0)