Skip to content

Commit 01d49ca

Browse files
committed
ci: Add Terraform version matrix
1 parent 5a528c6 commit 01d49ca

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,17 @@ jobs:
1111
validate:
1212
name: validate
1313
runs-on: ubuntu-18.04
14+
strategy:
15+
matrix:
16+
activity: ["0.13.7", "0.14.11", "1.0.11"]
1417
steps:
1518
- name: Checkout
1619
uses: actions/checkout@v2
1720

18-
- name: Setup terraform
21+
- name: Setup terraform ${{ matrix.activity }}
1922
uses: hashicorp/setup-terraform@v1
2023
with:
21-
terraform_version: 0.13.7
24+
terraform_version: ${{ matrix.activity }}
2225

2326
- run: terraform init -input=false
2427
- run: terraform fmt -check -diff -recursive

0 commit comments

Comments
 (0)