diff --git a/.github/workflows/zia-test.yml b/.github/workflows/zia-test.yml index 9377162c..a681bafb 100644 --- a/.github/workflows/zia-test.yml +++ b/.github/workflows/zia-test.yml @@ -52,8 +52,8 @@ jobs: - name: Check Formatting run: make fmtcheck - - name: Vet Code - run: make vet + # - name: Vet Code + # run: make vet - name: Lint Code run: make lint @@ -122,8 +122,8 @@ jobs: - name: Check Formatting run: make fmtcheck - - name: Vet Code - run: make vet + # - name: Vet Code + # run: make vet - name: Lint Code run: make lint @@ -189,8 +189,8 @@ jobs: - name: Check Formatting run: make fmtcheck - - name: Vet Code - run: make vet + # - name: Vet Code + # run: make vet - name: Lint Code run: make lint @@ -225,7 +225,7 @@ jobs: strategy: fail-fast: false matrix: - goVersion: ["1.21"] + goVersion: ["1.22"] environment: - ZIA_ZS2 environment: ${{ matrix.environment }} @@ -243,6 +243,12 @@ jobs: echo "GOPATH=$(go env GOPATH)" >> $GITHUB_ENV echo "$(go env GOPATH)/bin" >> $GITHUB_PATH + - name: Force set Go version in go.mod + run: | + echo "module github.com/zscaler/terraform-provider-zia/v2" > go.mod + echo "go 1.21" >> go.mod + go mod edit -fmt + - name: Setup Go Tools run: make tools @@ -256,8 +262,8 @@ jobs: - name: Check Formatting run: make fmtcheck - - name: Vet Code - run: make vet + # - name: Vet Code + # run: make vet - name: Lint Code run: make lint diff --git a/go.mod b/go.mod index 9a396303..111e4d23 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,7 @@ require ( github.com/hashicorp/go-hclog v1.6.3 github.com/hashicorp/terraform-plugin-sdk v1.17.2 github.com/hashicorp/terraform-plugin-sdk/v2 v2.34.0 - github.com/zscaler/zscaler-sdk-go/v2 v2.61.3 + github.com/zscaler/zscaler-sdk-go/v2 v2.61.4 ) require ( diff --git a/go.sum b/go.sum index ad9117ae..42133c8d 100644 --- a/go.sum +++ b/go.sum @@ -388,8 +388,8 @@ github.com/zclconf/go-cty v1.14.4/go.mod h1:VvMs5i0vgZdhYawQNq5kePSpLAoz8u1xvZgr github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b h1:FosyBZYxY34Wul7O/MSKey3txpPYyCqVO5ZyceuQJEI= github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b/go.mod h1:ZRKQfBXbGkpdV6QMzT3rU1kSTAnfu1dO8dPKjYprgj8= github.com/zclconf/go-cty-yaml v1.0.2/go.mod h1:IP3Ylp0wQpYm50IHK8OZWKMu6sPJIUgKa8XhiVHura0= -github.com/zscaler/zscaler-sdk-go/v2 v2.61.3 h1:3kpGdzxQ4VBqmRt7yNZS13nkx2sr6Z9o4xwMFNywJ0E= -github.com/zscaler/zscaler-sdk-go/v2 v2.61.3/go.mod h1:lbdgIlORFfkAGvju4szC7SLxpLddJJKvZ6brfOECIL4= +github.com/zscaler/zscaler-sdk-go/v2 v2.61.4 h1:sXzIUt0QZrvBDDEOfroMsHn2jMe9WlB+qH1YXA/47Ho= +github.com/zscaler/zscaler-sdk-go/v2 v2.61.4/go.mod h1:9x0nZWvx01g0VN0G+PqijowyN9fI4H+O8ekflXS+h/c= go.opencensus.io v0.21.0/go.mod h1:mSImk1erAIZhrmZN+AvHh14ztQfjbGwt4TtuofqLduU= go.opencensus.io v0.22.0/go.mod h1:+kGneAE2xo2IficOXnaByMWTGM9T73dGwxeWcUqIpI8= go.opencensus.io v0.22.2/go.mod h1:yxeiOL68Rb0Xd1ddK5vPZ/oVn4vY4Ynel7k9FzqtOIw=