Skip to content

Commit df4bfa8

Browse files
committed
chore: deps update and go 1.21
1 parent da44818 commit df4bfa8

File tree

4 files changed

+128
-95
lines changed

4 files changed

+128
-95
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Go
2020
uses: actions/setup-go@v3
2121
with:
22-
go-version: "^1.20"
22+
go-version: "^1.21"
2323
- name: "Check format"
2424
run: "test -z $(gofmt -l .)"
2525
- name: Build

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- run: git fetch --force --tags
2222
- uses: actions/setup-go@v3
2323
with:
24-
go-version: '>=1.20.1'
24+
go-version: '>=1.21.1'
2525
cache: true
2626
# More assembly might be required: Docker logins, GPG, etc. It all depends
2727
# on your needs.

go.mod

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,17 @@
11
module github.com/mxab/nacp
22

3-
go 1.20
3+
go 1.21
4+
5+
toolchain go1.21.1
46

57
require (
8+
github.com/evanphx/json-patch v0.5.2
69
github.com/hashicorp/go-hclog v1.5.0
710
github.com/hashicorp/go-multierror v1.1.1
11+
github.com/hashicorp/hcl/v2 v2.18.0
12+
github.com/hashicorp/nomad v1.6.2
13+
github.com/hashicorp/nomad/api v0.0.0-20230915175837-ad4436ffff3a
14+
github.com/open-policy-agent/opa v0.56.0
815
github.com/stretchr/testify v1.8.4
916
)
1017

@@ -13,18 +20,19 @@ require (
1320
github.com/Masterminds/semver/v3 v3.2.0 // indirect
1421
github.com/Masterminds/sprig/v3 v3.2.3 // indirect
1522
github.com/OneOfOne/xxhash v1.2.8 // indirect
16-
github.com/agext/levenshtein v1.2.3 // indirect
23+
github.com/agext/levenshtein v1.2.1 // indirect
1724
github.com/agnivade/levenshtein v1.1.1 // indirect
1825
github.com/apparentlymart/go-textseg/v13 v13.0.0 // indirect
26+
github.com/apparentlymart/go-textseg/v15 v15.0.0 // indirect
1927
github.com/armon/go-metrics v0.4.1 // indirect
2028
github.com/armon/go-radix v1.0.0 // indirect
2129
github.com/beorn7/perks v1.0.1 // indirect
2230
github.com/bgentry/speakeasy v0.1.0 // indirect
2331
github.com/cenkalti/backoff/v3 v3.2.2 // indirect
2432
github.com/cespare/xxhash/v2 v2.2.0 // indirect
33+
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
2534
github.com/dustin/go-humanize v1.0.1 // indirect
2635
github.com/fatih/color v1.15.0 // indirect
27-
github.com/ghodss/yaml v1.0.0 // indirect
2836
github.com/go-ini/ini v1.67.0 // indirect
2937
github.com/go-logr/logr v1.2.4 // indirect
3038
github.com/go-logr/stdr v1.2.2 // indirect
@@ -34,7 +42,7 @@ require (
3442
github.com/google/uuid v1.3.0 // indirect
3543
github.com/gorilla/mux v1.8.0 // indirect
3644
github.com/gorilla/websocket v1.5.0 // indirect
37-
github.com/hashicorp/consul/api v1.18.0 // indirect
45+
github.com/hashicorp/consul/api v1.23.0 // indirect
3846
github.com/hashicorp/cronexpr v1.1.2 // indirect
3947
github.com/hashicorp/errwrap v1.1.0 // indirect
4048
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
@@ -46,19 +54,19 @@ require (
4654
github.com/hashicorp/go-secure-stdlib/reloadutil v0.1.1 // indirect
4755
github.com/hashicorp/go-secure-stdlib/strutil v0.1.2 // indirect
4856
github.com/hashicorp/go-secure-stdlib/tlsutil v0.1.2 // indirect
49-
github.com/hashicorp/go-set v0.1.13 // indirect
57+
github.com/hashicorp/go-set v0.1.14 // indirect
5058
github.com/hashicorp/go-sockaddr v1.0.2 // indirect
5159
github.com/hashicorp/go-uuid v1.0.3 // indirect
5260
github.com/hashicorp/golang-lru v0.5.4 // indirect
53-
github.com/hashicorp/hcl v1.0.1-vault-5 // indirect
61+
github.com/hashicorp/hcl v1.0.1-vault-3 // indirect
5462
github.com/hashicorp/serf v0.10.1 // indirect
5563
github.com/hashicorp/vault/api v1.9.1 // indirect
5664
github.com/hashicorp/yamux v0.1.1 // indirect
5765
github.com/huandu/xstrings v1.4.0 // indirect
5866
github.com/imdario/mergo v0.3.13 // indirect
5967
github.com/jefferai/isbadcipher v0.0.0-20190226160619-51d2077c035f // indirect
6068
github.com/mattn/go-colorable v0.1.13 // indirect
61-
github.com/mattn/go-isatty v0.0.19 // indirect
69+
github.com/mattn/go-isatty v0.0.17 // indirect
6270
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
6371
github.com/mitchellh/cli v1.1.5 // indirect
6472
github.com/mitchellh/copystructure v1.2.0 // indirect
@@ -67,12 +75,13 @@ require (
6775
github.com/mitchellh/mapstructure v1.5.0 // indirect
6876
github.com/mitchellh/reflectwalk v1.0.2 // indirect
6977
github.com/pkg/errors v0.9.1 // indirect
78+
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
7079
github.com/posener/complete v1.2.3 // indirect
7180
github.com/prometheus/client_golang v1.16.0 // indirect
72-
github.com/prometheus/client_model v0.4.0 // indirect
73-
github.com/prometheus/common v0.44.0 // indirect
74-
github.com/prometheus/procfs v0.11.1 // indirect
75-
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
81+
github.com/prometheus/client_model v0.3.0 // indirect
82+
github.com/prometheus/common v0.42.0 // indirect
83+
github.com/prometheus/procfs v0.10.1 // indirect
84+
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 // indirect
7685
github.com/ryanuber/go-glob v1.0.0 // indirect
7786
github.com/shopspring/decimal v1.3.1 // indirect
7887
github.com/sirupsen/logrus v1.9.3 // indirect
@@ -82,29 +91,20 @@ require (
8291
github.com/xeipuuv/gojsonpointer v0.0.0-20190905194746-02993c407bfb // indirect
8392
github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415 // indirect
8493
github.com/yashtewari/glob-intersection v0.2.0 // indirect
85-
github.com/zclconf/go-cty v1.13.2 // indirect
94+
github.com/zclconf/go-cty v1.13.0 // indirect
8695
go.opentelemetry.io/otel v1.16.0 // indirect
8796
go.opentelemetry.io/otel/metric v1.16.0 // indirect
8897
go.opentelemetry.io/otel/sdk v1.16.0 // indirect
8998
go.opentelemetry.io/otel/trace v1.16.0 // indirect
90-
golang.org/x/crypto v0.11.0 // indirect
99+
golang.org/x/crypto v0.12.0 // indirect
91100
golang.org/x/exp v0.0.0-20230728194245-b0cb94b80691 // indirect
92-
golang.org/x/net v0.12.0 // indirect
93-
golang.org/x/sys v0.10.0 // indirect
94-
golang.org/x/text v0.11.0 // indirect
101+
golang.org/x/net v0.14.0 // indirect
102+
golang.org/x/sys v0.11.0 // indirect
103+
golang.org/x/text v0.12.0 // indirect
95104
golang.org/x/time v0.3.0 // indirect
96-
google.golang.org/protobuf v1.31.0 // indirect
105+
google.golang.org/protobuf v1.30.0 // indirect
97106
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
98107
gopkg.in/yaml.v2 v2.4.0 // indirect
99-
)
100-
101-
require (
102-
github.com/davecgh/go-spew v1.1.1 // indirect
103-
github.com/evanphx/json-patch v5.6.0+incompatible
104-
github.com/hashicorp/hcl/v2 v2.17.0
105-
github.com/hashicorp/nomad v1.6.1
106-
github.com/hashicorp/nomad/api v0.0.0-20230728185332-9e98d694a623
107-
github.com/open-policy-agent/opa v0.55.0
108-
github.com/pmezard/go-difflib v1.0.0 // indirect
109108
gopkg.in/yaml.v3 v3.0.1 // indirect
109+
sigs.k8s.io/yaml v1.3.0 // indirect
110110
)

0 commit comments

Comments
 (0)