Skip to content

Commit

Permalink
ci: test against officially supported terraform versions (#780)
Browse files Browse the repository at this point in the history
Hashicorp supports the two latest minor releases of terraform:
https://support.hashicorp.com/hc/en-us/articles/360021185113
  • Loading branch information
apricote authored Oct 24, 2023
1 parent 988481b commit bf21047
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,26 @@
name: test
name: Test

on:
pull_request:

jobs:
integration_tests:
integration:
name: Integration ${{ matrix.terraform }}
permissions:
id-token: write
runs-on: ubuntu-latest
strategy:
matrix:
terraform: [ v1.5.x, v1.6.x ]
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Unshallow
run: git fetch --prune --unshallow
- uses: hashicorp/setup-terraform@v2
with:
terraform_version: v1.5.x
terraform_version: ${{ matrix.terraform }}
terraform_wrapper: false
- name: Set up Go
uses: actions/setup-go@v4
Expand Down

0 comments on commit bf21047

Please sign in to comment.