Skip to content

Commit d3948b9

Browse files
authored
update dependencies (#578)
1 parent 458b787 commit d3948b9

File tree

5 files changed

+101
-133
lines changed

5 files changed

+101
-133
lines changed

.github/workflows/pr-validation.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,6 @@ jobs:
2222
go build .
2323
export SQLCMDPASSWORD=$(date +%s|sha256sum|base64|head -c 32)
2424
export SQLCMDUSER=sa
25-
docker run -m 2GB -e ACCEPT_EULA=1 -d --name sql2017 -p:1433:1433 -e SA_PASSWORD=$SQLCMDPASSWORD mcr.microsoft.com/mssql/server:2017-latest
25+
docker run -m 2GB -e ACCEPT_EULA=1 -d --name sql2022 -p:1433:1433 -e SA_PASSWORD=$SQLCMDPASSWORD mcr.microsoft.com/mssql/server:2022-latest
2626
cd ../..
2727
go test -v ./...

.pipelines/TestSql2017.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ steps:
1010
- template: include-install-go-tools.yml
1111

1212
- task: Docker@2
13-
displayName: 'Run SQL 2017 docker image'
13+
displayName: 'Run SQL 2022 docker image'
1414
inputs:
1515
command: run
16-
arguments: '-m 2GB -e ACCEPT_EULA=1 -d --name sql2017 -p:1433:1433 -e SA_PASSWORD=$(PASSWORD) mcr.microsoft.com/mssql/server:2017-latest'
16+
arguments: '-m 2GB -e ACCEPT_EULA=1 -d --name sql2022 -p:1433:1433 -e SA_PASSWORD=$(PASSWORD) mcr.microsoft.com/mssql/server:2022-latest'
1717

1818
- template: include-runtests-linux.yml
1919
parameters:
20-
RunName: 'SQL2017'
20+
RunName: 'SQL2022'
2121
SQLCMDUSER: sa
2222
SQLPASSWORD: $(PASSWORD)
2323

.vscode/settings.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{
22
"go.lintTool": "golangci-lint",
3-
"go.lintOnSave": "workspace"
3+
"go.lintOnSave": "workspace",
4+
"azure-pipelines.1ESPipelineTemplatesSchemaFile": true
45
}

go.mod

+29-26
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module github.com/microsoft/go-sqlcmd
22

3-
go 1.22.10
3+
go 1.23.0
4+
5+
toolchain go1.24.2
46

57
require (
68
github.com/alecthomas/chroma/v2 v2.5.0
@@ -17,9 +19,9 @@ require (
1719
github.com/spf13/cobra v1.6.1
1820
github.com/spf13/pflag v1.0.5
1921
github.com/spf13/viper v1.14.0
20-
github.com/stretchr/testify v1.9.0
21-
golang.org/x/sys v0.28.0
22-
golang.org/x/text v0.21.0
22+
github.com/stretchr/testify v1.10.0
23+
golang.org/x/sys v0.32.0
24+
golang.org/x/text v0.24.0
2325
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d
2426
gopkg.in/yaml.v2 v2.4.0
2527
)
@@ -31,9 +33,8 @@ require (
3133
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azkeys v1.0.1 // indirect
3234
github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.0.0 // indirect
3335
github.com/AzureAD/microsoft-authentication-library-for-go v1.2.2 // indirect
34-
github.com/Microsoft/go-winio v0.6.0 // indirect
36+
github.com/Microsoft/go-winio v0.6.2 // indirect
3537
github.com/beorn7/perks v1.0.1 // indirect
36-
github.com/cespare/xxhash/v2 v2.1.1 // indirect
3738
github.com/containerd/log v0.1.0 // indirect
3839
github.com/davecgh/go-spew v1.1.1 // indirect
3940
github.com/distribution/reference v0.6.0 // indirect
@@ -46,10 +47,10 @@ require (
4647
github.com/go-logr/logr v1.4.2 // indirect
4748
github.com/go-logr/stdr v1.2.2 // indirect
4849
github.com/gogo/protobuf v1.3.2 // indirect
49-
github.com/golang-jwt/jwt/v5 v5.2.1 // indirect
50+
github.com/golang-jwt/jwt/v5 v5.2.2 // indirect
5051
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect
51-
github.com/golang/protobuf v1.5.2 // indirect
52-
github.com/gorilla/mux v1.8.0 // indirect
52+
github.com/golang/protobuf v1.5.4 // indirect
53+
github.com/gorilla/mux v1.8.1 // indirect
5354
github.com/hashicorp/hcl v1.0.0 // indirect
5455
github.com/inconshreveable/mousetrap v1.0.1 // indirect
5556
github.com/kylelemons/godebug v1.1.0 // indirect
@@ -58,34 +59,36 @@ require (
5859
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
5960
github.com/mitchellh/mapstructure v1.5.0 // indirect
6061
github.com/moby/docker-image-spec v1.3.1 // indirect
61-
github.com/moby/term v0.0.0-20221120202655-abb19827d345 // indirect
62+
github.com/moby/term v0.5.2 // indirect
6263
github.com/morikuni/aec v1.0.0 // indirect
6364
github.com/opencontainers/go-digest v1.0.0 // indirect
6465
github.com/pelletier/go-toml v1.9.5 // indirect
6566
github.com/pelletier/go-toml/v2 v2.0.5 // indirect
6667
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
6768
github.com/pmezard/go-difflib v1.0.0 // indirect
68-
github.com/prometheus/client_golang v1.11.1 // indirect
69-
github.com/prometheus/client_model v0.2.0 // indirect
70-
github.com/prometheus/common v0.26.0 // indirect
71-
github.com/prometheus/procfs v0.6.0 // indirect
72-
github.com/sirupsen/logrus v1.9.3 // indirect
69+
github.com/prometheus/client_golang v1.1.0 // indirect
70+
github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4 // indirect
71+
github.com/prometheus/common v0.6.0 // indirect
72+
github.com/prometheus/procfs v0.0.3 // indirect
7373
github.com/spf13/afero v1.9.2 // indirect
7474
github.com/spf13/cast v1.5.0 // indirect
7575
github.com/spf13/jwalterweatherman v1.1.0 // indirect
7676
github.com/subosito/gotenv v1.4.1 // indirect
77-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.53.0 // indirect
78-
go.opentelemetry.io/otel v1.28.0 // indirect
79-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.28.0 // indirect
80-
go.opentelemetry.io/otel/metric v1.28.0 // indirect
81-
go.opentelemetry.io/otel/sdk v1.28.0 // indirect
82-
go.opentelemetry.io/otel/trace v1.28.0 // indirect
83-
golang.org/x/crypto v0.31.0 // indirect
77+
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
78+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.60.0 // indirect
79+
go.opentelemetry.io/otel v1.35.0 // indirect
80+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.35.0 // indirect
81+
go.opentelemetry.io/otel/metric v1.35.0 // indirect
82+
go.opentelemetry.io/otel/trace v1.35.0 // indirect
83+
golang.org/x/crypto v0.37.0 // indirect
8484
golang.org/x/mod v0.17.0 // indirect
85-
golang.org/x/net v0.26.0 // indirect
86-
golang.org/x/sync v0.10.0 // indirect
87-
google.golang.org/protobuf v1.34.2 // indirect
85+
golang.org/x/net v0.39.0 // indirect
86+
golang.org/x/sync v0.13.0 // indirect
87+
google.golang.org/genproto/googleapis/api v0.0.0-20250425173222-7b384671a197 // indirect
88+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250425173222-7b384671a197 // indirect
89+
google.golang.org/grpc v1.71.1 // indirect
90+
google.golang.org/protobuf v1.36.6 // indirect
8891
gopkg.in/ini.v1 v1.67.0 // indirect
8992
gopkg.in/yaml.v3 v3.0.1 // indirect
90-
gotest.tools/v3 v3.4.0 // indirect
93+
gotest.tools/v3 v3.5.2 // indirect
9194
)

0 commit comments

Comments
 (0)