Skip to content

Commit 9070a97

Browse files
authored
Update go version and dependencies (#42)
* Update go version and dependencies * Update go versions in ci
1 parent 5d974f1 commit 9070a97

File tree

4 files changed

+67
-68
lines changed

4 files changed

+67
-68
lines changed

.github/workflows/ci.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
steps:
1212
- uses: actions/setup-go@v5
1313
with:
14-
go-version: "1.22.x"
14+
go-version: "1.24.x"
1515
- uses: actions/checkout@v4
1616
- name: golangci-lint
1717
uses: golangci/golangci-lint-action@v4
@@ -22,7 +22,7 @@ jobs:
2222
runs-on: ubuntu-latest
2323
strategy:
2424
matrix:
25-
go: ["1.21.x", "1.22.x"]
25+
go: ["1.23.x", "1.24.x"]
2626
steps:
2727
- uses: actions/checkout@v4
2828

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.22-alpine AS builder
1+
FROM golang:1.24-alpine AS builder
22
ARG VERSION
33

44
RUN apk add --no-cache git gcc musl-dev make
@@ -9,7 +9,7 @@ ENV GO111MODULE=on
99

1010
COPY go.mod go.sum ./
1111

12-
RUN go mod download
12+
RUN go mod vendor
1313

1414
COPY . ./
1515

go.mod

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/golang-migrate/migrate/v4
22

3-
go 1.22
3+
go 1.24
44

55
require (
66
cloud.google.com/go/spanner v1.51.0
@@ -20,7 +20,7 @@ require (
2020
github.com/go-sql-driver/mysql v1.5.0
2121
github.com/gobuffalo/here v0.6.0
2222
github.com/gocql/gocql v0.0.0-20210515062232-b7ef815b4556
23-
github.com/golang-jwt/jwt/v4 v4.4.2 // indirect
23+
github.com/golang-jwt/jwt/v4 v4.5.2 // indirect
2424
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
2525
github.com/google/go-github/v39 v39.2.0
2626
github.com/hashicorp/go-multierror v1.1.1
@@ -33,24 +33,24 @@ require (
3333
github.com/lib/pq v1.10.9
3434
github.com/markbates/pkger v0.15.1
3535
github.com/mattn/go-sqlite3 v1.14.22
36-
github.com/microsoft/go-mssqldb v1.6.0
36+
github.com/microsoft/go-mssqldb v1.8.0
3737
github.com/mutecomm/go-sqlcipher/v4 v4.4.0
3838
github.com/nakagami/firebirdsql v0.0.0-20190310045651-3c02a58cfed8
3939
github.com/neo4j/neo4j-go-driver v1.8.1-0.20200803113522-b626aa943eba
4040
github.com/onsi/gomega v1.15.0 // indirect
41-
github.com/pkg/browser v0.0.0-20210911075715-681adbf594b8 // indirect
41+
github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c // indirect
4242
github.com/sirupsen/logrus v1.9.2
4343
github.com/snowflakedb/gosnowflake v1.6.19
4444
github.com/spf13/pflag v1.0.5
4545
github.com/spf13/viper v1.4.0
46-
github.com/stretchr/testify v1.8.4
46+
github.com/stretchr/testify v1.9.0
4747
github.com/xanzy/go-gitlab v0.15.0
4848
go.mongodb.org/mongo-driver v1.7.5
4949
go.uber.org/atomic v1.7.0
50-
golang.org/x/net v0.23.0 // indirect
50+
golang.org/x/net v0.39.0 // indirect
5151
golang.org/x/oauth2 v0.14.0
52-
golang.org/x/sys v0.20.0 // indirect
53-
golang.org/x/tools v0.10.0
52+
golang.org/x/sys v0.32.0 // indirect
53+
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d
5454
google.golang.org/api v0.150.0
5555
google.golang.org/genproto v0.0.0-20231016165738-49dd2c1f3d0b // indirect
5656
modernc.org/ql v1.0.0
@@ -67,8 +67,8 @@ require (
6767
cloud.google.com/go/longrunning v0.5.4 // indirect
6868
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
6969
github.com/99designs/keyring v1.2.1 // indirect
70-
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.7.1 // indirect
71-
github.com/Azure/azure-sdk-for-go/sdk/internal v1.3.0 // indirect
70+
github.com/Azure/azure-sdk-for-go/sdk/azcore v1.11.1 // indirect
71+
github.com/Azure/azure-sdk-for-go/sdk/internal v1.8.0 // indirect
7272
github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.0.0 // indirect
7373
github.com/Azure/go-ansiterm v0.0.0-20230124172434-306776ec8161 // indirect
7474
github.com/Azure/go-autorest v14.2.0+incompatible // indirect
@@ -112,7 +112,7 @@ require (
112112
github.com/google/flatbuffers v2.0.8+incompatible // indirect
113113
github.com/google/go-querystring v1.1.0 // indirect
114114
github.com/google/s2a-go v0.1.7 // indirect
115-
github.com/google/uuid v1.4.0 // indirect
115+
github.com/google/uuid v1.6.0 // indirect
116116
github.com/googleapis/enterprise-certificate-proxy v0.3.2 // indirect
117117
github.com/googleapis/gax-go/v2 v2.12.0 // indirect
118118
github.com/gorilla/handlers v1.4.2 // indirect
@@ -154,12 +154,12 @@ require (
154154
github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d // indirect
155155
gitlab.com/nyarla/go-crypt v0.0.0-20160106005555-d9a5dc2b789b // indirect
156156
go.opencensus.io v0.24.0 // indirect
157-
golang.org/x/crypto v0.23.0 // indirect
157+
golang.org/x/crypto v0.37.0 // indirect
158158
golang.org/x/exp v0.0.0-20230315142452-642cacee5cc0 // indirect
159-
golang.org/x/mod v0.11.0 // indirect
160-
golang.org/x/sync v0.5.0 // indirect
161-
golang.org/x/term v0.20.0 // indirect
162-
golang.org/x/text v0.15.0 // indirect
159+
golang.org/x/mod v0.17.0 // indirect
160+
golang.org/x/sync v0.13.0 // indirect
161+
golang.org/x/term v0.31.0 // indirect
162+
golang.org/x/text v0.24.0 // indirect
163163
golang.org/x/time v0.3.0 // indirect
164164
golang.org/x/xerrors v0.0.0-20220907171357-04be3eba64a2 // indirect
165165
google.golang.org/appengine v1.6.7 // indirect

0 commit comments

Comments
 (0)