build(deps): Bump github.com/vmihailenco/msgpack/v5 from 5.3.5 to 5.4.0 #220
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
# Continuous integration handling for Go | |
name: ci-go | |
on: | |
pull_request: | |
paths: | |
- .github/workflows/ci-go.yml | |
- .golangci.yml | |
- go.mod | |
- '**.go' | |
permissions: | |
contents: read | |
jobs: | |
golangci-lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 | |
with: | |
go-version-file: 'go.mod' | |
- run: go mod download | |
- uses: golangci/golangci-lint-action@3a919529898de77ec3da873e3063ca4b10e7f5cc # v3.7.0 | |
terraform-provider-corner-tfprotov5: | |
defaults: | |
run: | |
working-directory: terraform-provider-corner | |
name: tfprotov5 (${{ matrix.os}}, Terraform ${{ matrix.terraform}}) | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
with: | |
path: terraform-provider-corner | |
repository: hashicorp/terraform-provider-corner | |
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 | |
with: | |
go-version-file: 'go.mod' | |
- uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1 # v2.0.3 | |
with: | |
terraform_version: ${{ matrix.terraform }} | |
terraform_wrapper: false | |
- run: go mod edit -replace github.com/hashicorp/terraform-plugin-go=../ | |
- run: go mod tidy | |
- run: go test -v ./internal/protocolprovider | |
- run: go test -v ./internal/framework5provider | |
- run: go test -v ./internal/sdkv2provider | |
env: | |
TF_ACC: '1' | |
- run: go test -v ./internal/tf5muxprovider | |
- run: go test -v ./internal/tf6to5provider | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest, windows-latest, ubuntu-latest] | |
terraform: | |
- '0.12.*' | |
- '0.13.*' | |
- '0.14.*' | |
- '0.15.*' | |
- '1.0.*' | |
- '1.1.*' | |
- '1.2.*' | |
- '1.3.*' | |
- '1.4.*' | |
- '1.5.*' | |
terraform-provider-corner-tfprotov6: | |
defaults: | |
run: | |
working-directory: terraform-provider-corner | |
name: tfprotov6 (${{ matrix.os}}, Terraform ${{ matrix.terraform}}) | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
with: | |
path: terraform-provider-corner | |
repository: hashicorp/terraform-provider-corner | |
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 | |
with: | |
go-version-file: 'go.mod' | |
- uses: hashicorp/setup-terraform@633666f66e0061ca3b725c73b2ec20cd13a8fdd1 # v2.0.3 | |
with: | |
terraform_version: ${{ matrix.terraform }} | |
terraform_wrapper: false | |
- run: go mod edit -replace github.com/hashicorp/terraform-plugin-go=../ | |
- run: go mod tidy | |
- run: go test -v ./internal/framework6provider | |
- run: go test -v ./internal/protocolv6provider | |
- # Terraform CLI 1.1.5+ is required for upgrading sdk/v2 | |
if: matrix.terraform != '1.0.*' | |
run: go test -v ./internal/tf5to6provider | |
- run: go test -v ./internal/tf6muxprovider | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [macos-latest, windows-latest, ubuntu-latest] | |
terraform: | |
- '1.0.*' | |
- '1.1.*' | |
- '1.2.*' | |
- '1.3.*' | |
- '1.4.*' | |
- '1.5.*' | |
test: | |
name: test (Go v${{ matrix.go-version }}) | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go-version: ['1.20', '1.19'] | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0 | |
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4.1.0 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- run: go mod download | |
- run: go test -coverprofile=coverage.out ./... | |
- run: go tool cover -html=coverage.out -o coverage.html | |
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3.1.3 | |
with: | |
name: go-${{ matrix.go-version }}-coverage | |
path: coverage.html |