fix(deps): update module github.com/hashicorp/terraform-json to v0.24.0 #479
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continous Integration | |
on: [push, pull_request] | |
jobs: | |
build-and-unit-tests: | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
cache-dependency-path: go.sum | |
- run: make build test | |
end-to-end-tests: | |
name: End-to-End Tests | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
terraform-version: | |
- 0.13.7 | |
- 0.14.11 | |
- 0.15.5 | |
- 1.0.11 | |
- 1.1.9 | |
- 1.2.9 | |
- 1.3.10 | |
- 1.4.7 | |
- 1.5.7 | |
- 1.6.4 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-go@v5 | |
with: | |
go-version-file: go.mod | |
cache-dependency-path: go.sum | |
- uses: hashicorp/setup-terraform@v3 | |
with: | |
terraform_version: ${{ matrix.terraform-version }} | |
terraform_wrapper: false # script interferes with parsing of plan | |
cli_config_credentials_token: ${{ secrets.TERRAFORM_CLOUD_TOKEN }} | |
- name: Install Terragrunt | |
uses: autero1/[email protected] | |
with: | |
terragrunt-version: latest | |
token: ${{ secrets.GITHUB_TOKEN }} # to avoid rate limits | |
- run: make build test-e2e | |
end-to-end-tests-check: | |
name: End-to-End Tests (matrix) | |
if: ${{ always() }} | |
runs-on: ubuntu-latest | |
needs: [end-to-end-tests] | |
steps: | |
- run: | | |
result="${{ needs.end-to-end-tests.result }}" | |
if [[ $result == "success" || $result == "skipped" ]]; then | |
exit 0 | |
else | |
exit 1 | |
fi |