@@ -28,33 +28,31 @@ jobs:
2828 -
uses :
golangci/[email protected] 2929 with :
3030 skip-go-installation : true
31- terraform-provider-corner :
32- defaults :
33- run :
34- working-directory : terraform-provider-corner
35- runs-on : ubuntu-latest
36- steps :
37- - uses : actions/checkout@v3
38- - uses : actions/checkout@v3
39- with :
40- path : terraform-provider-corner
41- repository : hashicorp/terraform-provider-corner
42- - id : go-version
43- # Reference: https://github.com/actions/setup-go/issues/23
44- run : echo "::set-output name=version::$(cat ./.go-version)"
45- working-directory : .
46- - uses : actions/setup-go@v2
47- with :
48- go-version : 1.17.x
49- # NOTE: restore the line below once this repo has moved to go 1.17. We're currently hardcoding 1.17.x
50- # because the 'corner' provider has moved to that version and we'd still like this test to run.
51- #
52- # go-version: ${{ steps.go-version.outputs.version }}
53- - run : go mod edit -replace=github.com/hashicorp/terraform-plugin-sdk/v2=../
54- - run : go mod tidy
55- - run : go test -v ./...
56- env :
57- TF_ACC : ' 1'
31+ # NOTE: we've disabled the corner test because it uses features (UseJSONNumber) that we do not support in our fork.
32+ #
33+ # terraform-provider-corner:
34+ # defaults:
35+ # run:
36+ # working-directory: terraform-provider-corner
37+ # runs-on: ubuntu-latest
38+ # steps:
39+ # - uses: actions/checkout@v3
40+ # - uses: actions/checkout@v3
41+ # with:
42+ # path: terraform-provider-corner
43+ # repository: hashicorp/terraform-provider-corner
44+ # - id: go-version
45+ # # Reference: https://github.com/actions/setup-go/issues/23
46+ # run: echo "::set-output name=version::$(cat ./.go-version)"
47+ # working-directory: .
48+ # - uses: actions/setup-go@v2
49+ # with:
50+ # go-version: ${{ steps.go-version.outputs.version }}
51+ # - run: go mod edit -replace=github.com/hashicorp/terraform-plugin-sdk/v2=../
52+ # - run: go mod tidy
53+ # - run: go test -v ./...
54+ # env:
55+ # TF_ACC: '1'
5856 test :
5957 name : test (Go v${{ matrix.go-version }})
6058 runs-on : ubuntu-latest
0 commit comments