Skip to content

Commit 31a9d9a

Browse files
authored
Update Go version and fix Dependabot CVE alerts by bumping deps and removing pgconn v1. closes #4963 (#4964)
1 parent 65a921a commit 31a9d9a

6 files changed

Lines changed: 88 additions & 104 deletions

File tree

.github/workflows/01-steampipe-release.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ jobs:
114114
- name: Set up Go
115115
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
116116
with:
117-
go-version: 1.26
117+
go-version: 1.26.1
118118

119119
- name: Install GoReleaser
120120
uses: goreleaser/goreleaser-action@e435ccd777264be153ace6237001ef4d979d3a7a # v6.4.0

.github/workflows/10-test-lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
# this is required, check golangci-lint-action docs
3333
- uses: actions/setup-go@0aaccfd150d50ccaeb58ebd88d36e91967a5f35b # v5.4.0
3434
with:
35-
go-version: '1.26'
35+
go-version: '1.26.1'
3636
cache: false # setup-go v4 caches by default, do not change this parameter, check golangci-lint-action doc: https://github.com/golangci/golangci-lint-action/pull/704
3737

3838
- name: golangci-lint

.github/workflows/11-test-acceptance.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
- name: Set up Go
3333
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
3434
with:
35-
go-version: 1.26
35+
go-version: 1.26.1
3636

3737
- name: Fetching Go Cache Paths
3838
id: go-cache-paths
@@ -130,7 +130,7 @@ jobs:
130130
- name: Set up Go
131131
uses: actions/setup-go@44694675825211faa026b3c33043df3e48a5fa00 # v6.0.0
132132
with:
133-
go-version: 1.26
133+
go-version: 1.26.1
134134

135135
- name: Prepare for downloads
136136
id: prepare-for-downloads

go.mod

Lines changed: 27 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/turbot/steampipe/v2
22

3-
go 1.26.0
3+
go 1.26.1
44

55
replace (
66
github.com/c-bata/go-prompt => github.com/turbot/go-prompt v0.2.6-steampipe.0.0.20221028122246-eb118ec58d50
@@ -23,7 +23,6 @@ require (
2323
github.com/hashicorp/go-plugin v1.7.0
2424
github.com/hashicorp/go-version v1.7.0
2525
github.com/hashicorp/hcl/v2 v2.24.0
26-
github.com/jackc/pgconn v1.14.3
2726
github.com/jackc/pgx/v5 v5.7.6
2827
github.com/jedib0t/go-pretty/v6 v6.6.9
2928
github.com/karrick/gows v0.3.0
@@ -40,20 +39,20 @@ require (
4039
github.com/spf13/viper v1.20.1
4140
github.com/thediveo/enumflag/v2 v2.0.7
4241
github.com/turbot/go-kit v1.3.0
43-
github.com/turbot/pipe-fittings/v2 v2.7.3
42+
github.com/turbot/pipe-fittings/v2 v2.9.0
4443
github.com/turbot/steampipe-plugin-sdk/v5 v5.14.0
4544
github.com/turbot/terraform-components v0.0.0-20250114051614-04b806a9cbed
4645
github.com/zclconf/go-cty v1.16.3 // indirect
4746
golang.org/x/exp v0.0.0-20250305212735-054e65f0b394
4847
golang.org/x/sync v0.19.0
4948
golang.org/x/text v0.33.0
50-
google.golang.org/grpc v1.73.0
51-
google.golang.org/protobuf v1.36.6
49+
google.golang.org/grpc v1.79.3
50+
google.golang.org/protobuf v1.36.11
5251
)
5352

5453
require (
5554
cloud.google.com/go v0.120.0 // indirect
56-
cloud.google.com/go/compute/metadata v0.6.0 // indirect
55+
cloud.google.com/go/compute/metadata v0.9.0 // indirect
5756
cloud.google.com/go/iam v1.4.2 // indirect
5857
cloud.google.com/go/storage v1.51.0 // indirect
5958
github.com/AdaLogics/go-fuzz-headers v0.0.0-20240806141605-e8a1dd7889d6 // indirect
@@ -97,7 +96,7 @@ require (
9796
github.com/ghodss/yaml v1.0.0 // indirect
9897
github.com/go-git/gcfg v1.5.1-0.20230307220236-3a3c6141e376 // indirect
9998
github.com/go-git/go-billy/v5 v5.6.2 // indirect
100-
github.com/go-logr/logr v1.4.2 // indirect
99+
github.com/go-logr/logr v1.4.3 // indirect
101100
github.com/go-logr/stdr v1.2.2 // indirect
102101
github.com/go-ole/go-ole v1.3.0 // indirect
103102
github.com/go-playground/locales v0.14.1 // indirect
@@ -111,7 +110,7 @@ require (
111110
github.com/google/s2a-go v0.1.9 // indirect
112111
github.com/googleapis/enterprise-certificate-proxy v0.3.6 // indirect
113112
github.com/googleapis/gax-go/v2 v2.14.1 // indirect
114-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.26.3 // indirect
113+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.1 // indirect
115114
github.com/hashicorp/errwrap v1.1.0 // indirect
116115
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
117116
github.com/hashicorp/go-getter v1.7.9 // indirect
@@ -124,10 +123,7 @@ require (
124123
github.com/hokaccha/go-prettyjson v0.0.0-20211117102719-0474bc63780f // indirect
125124
github.com/iancoleman/strcase v0.3.0 // indirect
126125
github.com/inconshreveable/mousetrap v1.1.0 // indirect
127-
github.com/jackc/chunkreader/v2 v2.0.1 // indirect
128-
github.com/jackc/pgio v1.0.0 // indirect
129126
github.com/jackc/pgpassfile v1.0.0 // indirect
130-
github.com/jackc/pgproto3/v2 v2.3.3 // indirect
131127
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
132128
github.com/jackc/puddle/v2 v2.2.2 // indirect
133129
github.com/jbenet/go-context v0.0.0-20150711004518-d14ea06fba99 // indirect
@@ -145,7 +141,7 @@ require (
145141
github.com/opencontainers/go-digest v1.0.0 // indirect
146142
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
147143
github.com/pjbgf/sha1cd v0.3.2 // indirect
148-
github.com/prometheus/client_model v0.6.1 // indirect
144+
github.com/prometheus/client_model v0.6.2 // indirect
149145
github.com/prometheus/common v0.63.0 // indirect
150146
github.com/rivo/uniseg v0.4.7 // indirect
151147
github.com/rs/xid v1.6.0 // indirect
@@ -156,7 +152,7 @@ require (
156152
github.com/spf13/afero v1.14.0 // indirect
157153
github.com/spf13/cast v1.7.1 // indirect
158154
github.com/stevenle/topsort v0.2.0 // indirect
159-
github.com/stretchr/testify v1.10.0
155+
github.com/stretchr/testify v1.11.1
160156
github.com/subosito/gotenv v1.6.0 // indirect
161157
github.com/tklauser/numcpus v0.10.0 // indirect
162158
github.com/tkrajina/go-reflector v0.5.8 // indirect
@@ -166,25 +162,25 @@ require (
166162
github.com/zclconf/go-cty-yaml v1.1.0 // indirect
167163
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.60.0 // indirect
168164
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.60.0 // indirect
169-
go.opentelemetry.io/otel v1.35.0 // indirect
165+
go.opentelemetry.io/otel v1.40.0 // indirect
170166
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.35.0 // indirect
171167
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.35.0 // indirect
172168
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.35.0 // indirect
173-
go.opentelemetry.io/otel/metric v1.35.0 // indirect
174-
go.opentelemetry.io/otel/sdk v1.35.0 // indirect
175-
go.opentelemetry.io/otel/sdk/metric v1.35.0 // indirect
176-
go.opentelemetry.io/otel/trace v1.35.0 // indirect
177-
go.opentelemetry.io/proto/otlp v1.5.0 // indirect
169+
go.opentelemetry.io/otel/metric v1.40.0 // indirect
170+
go.opentelemetry.io/otel/sdk v1.40.0 // indirect
171+
go.opentelemetry.io/otel/sdk/metric v1.40.0 // indirect
172+
go.opentelemetry.io/otel/trace v1.40.0 // indirect
173+
go.opentelemetry.io/proto/otlp v1.7.1 // indirect
178174
go.uber.org/multierr v1.11.0 // indirect
179-
golang.org/x/oauth2 v0.30.0 // indirect
175+
golang.org/x/oauth2 v0.34.0 // indirect
180176
golang.org/x/sys v0.40.0
181177
golang.org/x/term v0.39.0 // indirect
182178
golang.org/x/time v0.12.0 // indirect
183179
golang.org/x/tools v0.40.0 // indirect
184180
google.golang.org/api v0.227.0 // indirect
185181
google.golang.org/genproto v0.0.0-20250313205543-e70fdf4c4cb4 // indirect
186-
google.golang.org/genproto/googleapis/api v0.0.0-20250324211829-b45e905df463 // indirect
187-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250324211829-b45e905df463 // indirect
182+
google.golang.org/genproto/googleapis/api v0.0.0-20251202230838-ff82c1b0f217 // indirect
183+
google.golang.org/genproto/googleapis/rpc v0.0.0-20251202230838-ff82c1b0f217 // indirect
188184
gopkg.in/warnings.v0 v0.1.2 // indirect
189185
gopkg.in/yaml.v2 v2.4.0 // indirect
190186
gopkg.in/yaml.v3 v3.0.1 // indirect
@@ -195,20 +191,20 @@ require (
195191
require go.uber.org/goleak v1.3.0
196192

197193
require (
198-
cel.dev/expr v0.23.0 // indirect
194+
cel.dev/expr v0.25.1 // indirect
199195
cloud.google.com/go/auth v0.15.0 // indirect
200196
cloud.google.com/go/auth/oauth2adapt v0.2.7 // indirect
201197
cloud.google.com/go/monitoring v1.24.0 // indirect
202-
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.27.0 // indirect
198+
github.com/GoogleCloudPlatform/opentelemetry-operations-go/detectors/gcp v1.30.0 // indirect
203199
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.51.0 // indirect
204200
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.51.0 // indirect
205201
github.com/bmatcuk/doublestar v1.3.4 // indirect
206-
github.com/cncf/xds/go v0.0.0-20250326154945-ae57f3c0d45f // indirect
202+
github.com/cncf/xds/go v0.0.0-20251210132809-ee656c7534f5 // indirect
207203
github.com/containerd/platforms v0.2.1 // indirect
208204
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
209-
github.com/envoyproxy/go-control-plane/envoy v1.32.4 // indirect
210-
github.com/envoyproxy/protoc-gen-validate v1.2.1 // indirect
211-
github.com/go-jose/go-jose/v4 v4.0.5 // indirect
205+
github.com/envoyproxy/go-control-plane/envoy v1.36.0 // indirect
206+
github.com/envoyproxy/protoc-gen-validate v1.3.0 // indirect
207+
github.com/go-jose/go-jose/v4 v4.1.3 // indirect
212208
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
213209
github.com/logrusorgru/aurora v2.0.3+incompatible // indirect
214210
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
@@ -217,12 +213,11 @@ require (
217213
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
218214
github.com/prometheus/client_golang v1.21.1 // indirect
219215
github.com/prometheus/procfs v0.16.0 // indirect
220-
github.com/spiffe/go-spiffe/v2 v2.5.0 // indirect
216+
github.com/spiffe/go-spiffe/v2 v2.6.0 // indirect
221217
github.com/tklauser/go-sysconf v0.3.15 // indirect
222218
github.com/yusufpapurcu/wmi v1.2.4 // indirect
223-
github.com/zeebo/errs v1.4.0 // indirect
224-
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
225-
go.opentelemetry.io/contrib/detectors/gcp v1.35.0 // indirect
219+
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
220+
go.opentelemetry.io/contrib/detectors/gcp v1.39.0 // indirect
226221
go.uber.org/mock v0.4.0 // indirect
227222
golang.org/x/crypto v0.47.0 // indirect
228223
golang.org/x/mod v0.31.0 // indirect

0 commit comments

Comments
 (0)