Skip to content

Commit a365aaa

Browse files
authored
Version upgrade (#117)
* extend makefile * move generation out of main.go to tools * bump versions and dependencies
1 parent e0896c4 commit a365aaa

File tree

7 files changed

+266
-128
lines changed

7 files changed

+266
-128
lines changed

GNUmakefile

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,17 @@
1-
default: testacc
1+
default: fmt lint install generate
2+
3+
build:
4+
go build -v ./...
25
generate:
36
cd tools; go generate ./...
4-
# Run acceptance tests
5-
.PHONY: testacc
7+
install: build
8+
go install -v ./...
9+
lint:
10+
golangci-lint run
11+
fmt:
12+
gofmt -s -w -e .
13+
614
testacc:
7-
TF_ACC=1 go test ./... -v $(TESTARGS) -timeout 120m
15+
TF_ACC=1 VERSION=1.4.4 go test -v -cover -timeout 120m ./...
16+
17+
.PHONY: fmt lint test testacc build install generate

go.mod

Lines changed: 10 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ go 1.22.7
55
toolchain go1.23.3
66

77
require (
8-
github.com/hashicorp/terraform-plugin-docs v0.20.1
98
github.com/hashicorp/terraform-plugin-framework v1.13.0
109
github.com/hashicorp/terraform-plugin-framework-validators v0.16.0
1110
github.com/hashicorp/terraform-plugin-go v0.25.0
@@ -14,23 +13,13 @@ require (
1413
)
1514

1615
require (
17-
github.com/BurntSushi/toml v1.2.1 // indirect
18-
github.com/Kunde21/markdownfmt/v3 v3.1.0 // indirect
19-
github.com/Masterminds/goutils v1.1.1 // indirect
20-
github.com/Masterminds/semver/v3 v3.2.1 // indirect
21-
github.com/Masterminds/sprig/v3 v3.2.3 // indirect
2216
github.com/ProtonMail/go-crypto v1.1.0-alpha.2 // indirect
2317
github.com/agext/levenshtein v1.2.2 // indirect
2418
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
25-
github.com/armon/go-radix v1.0.0 // indirect
26-
github.com/bgentry/speakeasy v0.1.0 // indirect
27-
github.com/bmatcuk/doublestar/v4 v4.7.1 // indirect
2819
github.com/cloudflare/circl v1.3.7 // indirect
2920
github.com/fatih/color v1.18.0 // indirect
3021
github.com/golang/protobuf v1.5.4 // indirect
3122
github.com/google/go-cmp v0.6.0 // indirect
32-
github.com/google/uuid v1.6.0 // indirect
33-
github.com/hashicorp/cli v1.1.6 // indirect
3423
github.com/hashicorp/errwrap v1.1.0 // indirect
3524
github.com/hashicorp/go-checkpoint v0.5.0 // indirect
3625
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
@@ -47,43 +36,33 @@ require (
4736
github.com/hashicorp/terraform-exec v0.21.0 // indirect
4837
github.com/hashicorp/terraform-json v0.23.0 // indirect
4938
github.com/hashicorp/terraform-plugin-sdk/v2 v2.35.0 // indirect
50-
github.com/hashicorp/terraform-registry-address v0.2.3 // indirect
39+
github.com/hashicorp/terraform-registry-address v0.2.4 // indirect
5140
github.com/hashicorp/terraform-svchost v0.1.1 // indirect
5241
github.com/hashicorp/yamux v0.1.2 // indirect
53-
github.com/huandu/xstrings v1.3.3 // indirect
54-
github.com/imdario/mergo v0.3.15 // indirect
55-
github.com/mattn/go-colorable v0.1.13 // indirect
42+
github.com/kr/pretty v0.3.0 // indirect
43+
github.com/mattn/go-colorable v0.1.14 // indirect
5644
github.com/mattn/go-isatty v0.0.20 // indirect
57-
github.com/mattn/go-runewidth v0.0.9 // indirect
5845
github.com/mitchellh/copystructure v1.2.0 // indirect
5946
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
6047
github.com/mitchellh/go-wordwrap v1.0.0 // indirect
6148
github.com/mitchellh/mapstructure v1.5.0 // indirect
6249
github.com/mitchellh/reflectwalk v1.0.2 // indirect
6350
github.com/oklog/run v1.1.0 // indirect
64-
github.com/posener/complete v1.2.3 // indirect
65-
github.com/shopspring/decimal v1.3.1 // indirect
66-
github.com/spf13/cast v1.5.0 // indirect
51+
github.com/rogpeppe/go-internal v1.13.1 // indirect
6752
github.com/stretchr/testify v1.9.0 // indirect
6853
github.com/vmihailenco/msgpack v4.0.4+incompatible // indirect
6954
github.com/vmihailenco/msgpack/v5 v5.4.1 // indirect
7055
github.com/vmihailenco/tagparser/v2 v2.0.0 // indirect
71-
github.com/yuin/goldmark v1.7.7 // indirect
72-
github.com/yuin/goldmark-meta v1.1.0 // indirect
7356
github.com/zclconf/go-cty v1.15.0 // indirect
74-
go.abhg.dev/goldmark/frontmatter v0.2.0 // indirect
75-
golang.org/x/crypto v0.31.0 // indirect
76-
golang.org/x/exp v0.0.0-20240103183307-be819d1f06fc // indirect
57+
golang.org/x/crypto v0.32.0 // indirect
7758
golang.org/x/mod v0.21.0 // indirect
78-
golang.org/x/net v0.33.0 // indirect
59+
golang.org/x/net v0.34.0 // indirect
7960
golang.org/x/sync v0.10.0 // indirect
80-
golang.org/x/sys v0.28.0 // indirect
61+
golang.org/x/sys v0.29.0 // indirect
8162
golang.org/x/text v0.21.0 // indirect
8263
golang.org/x/tools v0.22.0 // indirect
8364
google.golang.org/appengine v1.6.8 // indirect
84-
google.golang.org/genproto/googleapis/rpc v0.0.0-20241219192143-6b3ec007d9bb // indirect
85-
google.golang.org/grpc v1.69.2 // indirect
86-
google.golang.org/protobuf v1.36.0 // indirect
87-
gopkg.in/yaml.v2 v2.3.0 // indirect
88-
gopkg.in/yaml.v3 v3.0.1 // indirect
65+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250115164207-1a7da9e5054f // indirect
66+
google.golang.org/grpc v1.69.4 // indirect
67+
google.golang.org/protobuf v1.36.3 // indirect
8968
)

0 commit comments

Comments
 (0)