build(deps): bump github.com/hashicorp/terraform-plugin-framework from 1.12.0 to 1.13.0 #646
Workflow file for this run
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: Tests | |
on: | |
pull_request: | |
branches: [ main ] | |
paths-ignore: | |
- 'README.md' | |
- 'CHANGELOG.md' | |
- 'website/*' | |
- 'tools/*' | |
push: | |
branches: [ main ] | |
paths-ignore: | |
- 'README.md' | |
- 'CHANGELOG.md' | |
- 'website/*' | |
- 'tools/*' | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version-file: 'go.mod' | |
id: go | |
- name: Run linters | |
uses: golangci/golangci-lint-action@971e284b6050e8a5849b72094c50ab08da042db8 # v6.1.1 | |
with: | |
version: latest | |
- name: Go fmt | |
run: | | |
make fmt | |
- name: Go vet | |
run: | | |
make vet | |
- name: Build | |
run: | | |
go build -v . | |
tfprotov5: | |
name: Protocol Version 5 (${{ matrix.os}}, Terraform ${{ matrix.terraform}}) | |
needs: build | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 15 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest, windows-latest, ubuntu-latest] | |
terraform: ${{ fromJSON(vars.TF_VERSIONS_PROTOCOL_V5) }} | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version-file: 'go.mod' | |
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2 | |
with: | |
terraform_version: ${{ matrix.terraform }} | |
terraform_wrapper: false | |
- run: go mod download | |
- run: go test -v -cover ./internal/framework5provider/ | |
- run: go test -v -cover ./internal/protocolprovider/ | |
- run: go test -v -cover ./internal/sdkv2provider/ | |
env: | |
TF_ACC: "1" | |
- run: go test -v -cover ./internal/sdkv2testingprovider/ | |
env: | |
TF_ACC: "1" | |
- run: go test -v -cover ./internal/tf5muxprovider/ | |
- run: go test -v -cover ./internal/tf6to5provider/ | |
tfprotov6: | |
name: Protocol Version 6 (${{ matrix.os}}, Terraform ${{ matrix.terraform}}) | |
needs: build | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 15 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest, windows-latest, ubuntu-latest] | |
terraform: ${{ fromJSON(vars.TF_VERSIONS_PROTOCOL_V6) }} | |
steps: | |
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 | |
- uses: actions/setup-go@0a12ed9d6a96ab950c8f026ed9f722fe0da7ef32 # v5.0.2 | |
with: | |
go-version-file: 'go.mod' | |
- uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd # v3.1.2 | |
with: | |
terraform_version: ${{ matrix.terraform }} | |
terraform_wrapper: false | |
- run: go mod download | |
- run: go test -v -cover ./internal/framework6provider/ | |
- run: go test -v -cover ./internal/protocolv6provider/ | |
- # Terraform CLI 1.1.5+ is required for upgrading sdk/v2 | |
if: matrix.terraform != '1.0.*' | |
run: go test -v -cover ./internal/tf5to6provider/ | |
- run: go test -v -cover ./internal/tf6muxprovider/ |