Skip to content

Commit

Permalink
Require Go 1.18; Bump github.com/zclconf/go-cty from 1.10.0 to 1.11.0 (
Browse files Browse the repository at this point in the history
…#331)

* Bump github.com/zclconf/go-cty from 1.10.0 to 1.11.0

Bumps [github.com/zclconf/go-cty](https://github.com/zclconf/go-cty) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/zclconf/go-cty/releases)
- [Changelog](https://github.com/zclconf/go-cty/blob/main/CHANGELOG.md)
- [Commits](zclconf/go-cty@v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/zclconf/go-cty
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* require Go 1.18

* use new circleci imgs

* use new windows orb

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Katy Moe <katy@katy.moe>
  • Loading branch information
dependabot[bot] and kmoe committed Aug 23, 2022
1 parent 1ac1308 commit 24e3216
Show file tree
Hide file tree
Showing 4 changed files with 63 additions and 61 deletions.
110 changes: 55 additions & 55 deletions .circleci/config.yml
@@ -1,7 +1,7 @@
version: 2.1

orbs:
win: circleci/windows@2.2.0
win: circleci/windows@5.0
slack: circleci/slack@4.2.0

commands:
Expand Down Expand Up @@ -57,15 +57,15 @@ jobs:
- go_e2e_test

# previous stable Go version
go116_build:
go118_build:
docker:
- image: circleci/golang:1.16
- image: cimg/go:1.18
steps:
- checkout
- go_build
go116_test:
go118_test:
docker:
- image: circleci/golang:1.16
- image: cimg/go:1.18
parameters:
test_results:
type: string
Expand All @@ -75,27 +75,27 @@ jobs:
- go_unit_test

# latest stable Go version
go117_build:
go119_build:
docker:
- image: circleci/golang:1.17
- image: cimg/go:1.19
steps:
- checkout
- go_build
go117_test:
go119_test:
docker:
- image: circleci/golang:1.17
- image: cimg/go:1.19
parameters:
test_results:
type: string
default: /tmp/test-results
steps:
- checkout
- go_unit_test
go117_test_main:
go119_test_main:
environment:
TFEXEC_E2ETEST_VERSIONS: refs/heads/main
docker:
- image: circleci/golang:1.17
- image: cimg/go:1.19
parameters:
test_results:
type: string
Expand All @@ -104,21 +104,21 @@ jobs:
- checkout
- go_unit_test
- go_e2e_test
go117_vet:
go119_vet:
docker:
- image: circleci/golang:1.17
- image: cimg/go:1.19
steps:
- checkout
- run: go vet ./...
go117_fmt:
go119_fmt:
docker:
- image: circleci/golang:1.17
- image: cimg/go:1.19
steps:
- checkout
- run: gofmt -s -l .
go117_release:
go119_release:
docker:
- image: circleci/golang:1.17
- image: cimg/go:1.9
steps:
- add_ssh_keys:
fingerprints:
Expand All @@ -133,23 +133,23 @@ workflows:
- winbuildtest
- macosbuildtest

- go116_build
- go116_test:
- go118_build
- go118_test:
requires:
- go116_build
- go117_build
- go117_test:
- go118_build
- go119_build
- go119_test:
requires:
- go117_build
- go117_test_main:
- go119_build
- go119_test_main:
requires:
- go117_build
- go117_vet:
- go119_build
- go119_vet:
requires:
- go117_build
- go117_fmt:
- go119_build
- go119_fmt:
requires:
- go117_build
- go119_build
release:
jobs:
- winbuildtest:
Expand All @@ -162,49 +162,49 @@ workflows:
branches:
only:
- main
- go116_build:
- go118_build:
filters:
branches:
only:
- main
- go116_test:
- go118_test:
requires:
- go116_build
- go118_build
filters:
branches:
only:
- main

- go117_build:
- go119_build:
filters:
branches:
only:
- main
- go117_test:
- go119_test:
requires:
- go117_build
- go119_build
filters:
branches:
only:
- main

- go117_test_main:
- go119_test_main:
requires:
- go117_build
- go119_build
filters:
branches:
only:
- main
- go117_vet:
- go119_vet:
requires:
- go117_build
- go119_build
filters:
branches:
only:
- main
- go117_fmt:
- go119_fmt:
requires:
- go117_build
- go119_build
filters:
branches:
only:
Expand All @@ -217,16 +217,16 @@ workflows:
- main
type: approval

- go117_release:
- go119_release:
filters:
branches:
only:
- main
requires:
- trigger-release
- go117_test_main
- go117_vet
- go117_fmt
- go119_test_main
- go119_vet
- go119_fmt
- winbuildtest
- macosbuildtest
nightly:
Expand All @@ -244,31 +244,31 @@ workflows:
- slack/notify:
event: fail
template: basic_fail_1
- go116_build:
- go118_build:
post-steps:
- slack/notify:
event: fail
template: basic_fail_1
- go116_test:
- go118_test:
post-steps:
- slack/notify:
event: fail
template: basic_fail_1
requires:
- go116_build
- go117_build:
- go118_build
- go119_build:
post-steps:
- slack/notify:
event: fail
template: basic_fail_1
- go117_test:
- go119_test:
post-steps:
- slack/notify:
event: fail
template: basic_fail_1
requires:
- go117_build
- go117_test_main:
- go119_build
- go119_test_main:
post-steps:
- slack/notify:
event: fail
Expand All @@ -291,8 +291,8 @@ workflows:
]
}
requires:
- go116_build
- go116_test
- go117_build
- go118_build
- go118_test
- go119_build
- winbuildtest
- macosbuildtest
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -14,7 +14,7 @@ We strictly follow [semantic versioning](https://semver.org).

This library is built in Go, and uses the [support policy](https://golang.org/doc/devel/release.html#policy) of Go as its support policy. The two latest major releases of Go are supported by terraform-exec.

Currently, that means Go **1.17** or later must be used.
Currently, that means Go **1.18** or later must be used.

## Usage

Expand Down
6 changes: 3 additions & 3 deletions go.mod
@@ -1,13 +1,13 @@
module github.com/hashicorp/terraform-exec

go 1.17
go 1.18

require (
github.com/google/go-cmp v0.5.8
github.com/hashicorp/go-version v1.6.0
github.com/hashicorp/hc-install v0.4.0
github.com/hashicorp/terraform-json v0.14.0
github.com/zclconf/go-cty v1.10.0
github.com/zclconf/go-cty v1.11.0
github.com/zclconf/go-cty-debug v0.0.0-20191215020915-b22d67c1ba0b
)

Expand All @@ -29,6 +29,6 @@ require (
golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e // indirect
golang.org/x/net v0.0.0-20210326060303-6b1517762897 // indirect
golang.org/x/sys v0.0.0-20210615035016-665e8c7367d1 // indirect
golang.org/x/text v0.3.5 // indirect
golang.org/x/text v0.3.7 // indirect
gopkg.in/warnings.v0 v0.1.2 // indirect
)
6 changes: 4 additions & 2 deletions go.sum
Expand Up @@ -96,8 +96,9 @@ github.com/vmihailenco/tagparser v0.1.1/go.mod h1:OeAg3pn3UbLjkWt+rN9oFYB6u/cQgq
github.com/xanzy/ssh-agent v0.3.0 h1:wUMzuKtKilRgBAD1sUb8gOwwRr2FGoBVumcjoOACClI=
github.com/xanzy/ssh-agent v0.3.0/go.mod h1:3s9xbODqPuuhK9JV1R321M/FlMZSBvE5aY6eAcqrDh0=
github.com/zclconf/go-cty v1.2.0/go.mod h1:hOPWgoHbaTUnI5k4D2ld+GRpFJSCe6bCM7m1q/N4PQ8=
github.com/zclconf/go-cty v1.10.0 h1:mp9ZXQeIcN8kAwuqorjH+Q+njbJKjLrvB2yIh4q7U+0=
github.com/zclconf/go-cty v1.10.0/go.mod h1:vVKLxnk3puL4qRAv72AO+W99LUD4da90g3uUAzyuvAk=
github.com/zclconf/go-cty v1.11.0 h1:726SxLdi2SDnjY+BStqB9J1hNp4+2WlzyXLuimibIe0=
github.com/zclconf/go-cty v1.11.0/go.mod h1:s9IfD1LK5ccNMSWCVFCE2rJfHiZgi7JijgeWIMfhLvA=
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=
golang.org/x/crypto v0.0.0-20190219172222-a4c6cb3142f2/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
Expand Down Expand Up @@ -129,8 +130,9 @@ golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9sn
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.5 h1:i6eZZ+zk0SOf0xgBpEpPD18qWcJda6q1sxt3S0kzyUQ=
golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/appengine v1.6.5/go.mod h1:8WjMMxjGQR8xUklV/ARdw2HLXBOI7O7uCIDZVag1xfc=
Expand Down

0 comments on commit 24e3216

Please sign in to comment.