Skip to content

Commit 2a6059e

Browse files
authored
Upgrade Go version to 1.25 (#198)
1 parent fef9f98 commit 2a6059e

File tree

5 files changed

+102
-110
lines changed

5 files changed

+102
-110
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM golang:1.24-alpine AS builder
1+
FROM golang:1.25-alpine AS builder
22

33
WORKDIR /app
44

go.mod

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
module github.com/alexandear/import-gitlab-commits
22

3-
go 1.24.0
3+
go 1.25.0
44

55
require (
6-
github.com/go-git/go-git/v5 v5.16.4
6+
github.com/go-git/go-git/v5 v5.16.5
77
github.com/stretchr/testify v1.11.1
88
gitlab.com/gitlab-org/api/client-go v1.18.0
99
)
@@ -12,7 +12,7 @@ require (
1212
dario.cat/mergo v1.0.0 // indirect
1313
github.com/Microsoft/go-winio v0.6.2 // indirect
1414
github.com/ProtonMail/go-crypto v1.1.6 // indirect
15-
github.com/cloudflare/circl v1.6.1 // indirect
15+
github.com/cloudflare/circl v1.6.3 // indirect
1616
github.com/cyphar/filepath-securejoin v0.4.1 // indirect
1717
github.com/davecgh/go-spew v1.1.1 // indirect
1818
github.com/emirpasic/gods v1.18.1 // indirect
@@ -29,8 +29,8 @@ require (
2929
github.com/sergi/go-diff v1.3.2-0.20230802210424-5b0b94c5c0d3 // indirect
3030
github.com/skeema/knownhosts v1.3.1 // indirect
3131
github.com/xanzy/ssh-agent v0.3.3 // indirect
32-
golang.org/x/crypto v0.37.0 // indirect
33-
golang.org/x/net v0.39.0 // indirect
32+
golang.org/x/crypto v0.45.0 // indirect
33+
golang.org/x/net v0.47.0 // indirect
3434
golang.org/x/oauth2 v0.34.0 // indirect
3535
golang.org/x/sys v0.39.0 // indirect
3636
golang.org/x/time v0.14.0 // indirect

go.sum

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be h1:9AeTilPcZAjCFI
99
github.com/anmitsu/go-shlex v0.0.0-20200514113438-38f4b401e2be/go.mod h1:ySMOLuWl6zY27l47sB3qLNK6tF2fkHG55UZxx8oIVo4=
1010
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5 h1:0CwZNZbxp69SHPdPJAN/hZIm0C4OItdklCFmMRWYpio=
1111
github.com/armon/go-socks5 v0.0.0-20160902184237-e75332964ef5/go.mod h1:wHh0iHkYZB8zMSxRWpUBQtwG5a7fFgvEO+odwuTv2gs=
12-
github.com/cloudflare/circl v1.6.1 h1:zqIqSPIndyBh1bjLVVDHMPpVKqp8Su/V+6MeDzzQBQ0=
13-
github.com/cloudflare/circl v1.6.1/go.mod h1:uddAzsPgqdMAYatqJ0lsjX1oECcQLIlRpzZh3pJrofs=
12+
github.com/cloudflare/circl v1.6.3 h1:9GPOhQGF9MCYUeXyMYlqTR6a5gTrgR/fBLXvUgtVcg8=
13+
github.com/cloudflare/circl v1.6.3/go.mod h1:2eXP6Qfat4O/Yhh8BznvKnJ+uzEoTQ6jVKJRn81BiS4=
1414
github.com/cyphar/filepath-securejoin v0.4.1 h1:JyxxyPEaktOD+GAnqIqTf9A8tHyAG22rowi7HkoSU1s=
1515
github.com/cyphar/filepath-securejoin v0.4.1/go.mod h1:Sdj7gXlvMcPZsbhwhQ33GguGLDGQL7h7bg04C/+u9jI=
1616
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -30,8 +30,8 @@ github.com/go-git/go-billy/v5 v5.6.2 h1:6Q86EsPXMa7c3YZ3aLAQsMA0VlWmy43r6FHqa/UN
3030
github.com/go-git/go-billy/v5 v5.6.2/go.mod h1:rcFC2rAsp/erv7CMz9GczHcuD0D32fWzH+MJAU+jaUU=
3131
github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399 h1:eMje31YglSBqCdIqdhKBW8lokaMrL3uTkpGYlE2OOT4=
3232
github.com/go-git/go-git-fixtures/v4 v4.3.2-0.20231010084843-55a94097c399/go.mod h1:1OCfN199q1Jm3HZlxleg+Dw/mwps2Wbk9frAWm+4FII=
33-
github.com/go-git/go-git/v5 v5.16.4 h1:7ajIEZHZJULcyJebDLo99bGgS0jRrOxzZG4uCk2Yb2Y=
34-
github.com/go-git/go-git/v5 v5.16.4/go.mod h1:4Ge4alE/5gPs30F2H1esi2gPd69R0C39lolkucHBOp8=
33+
github.com/go-git/go-git/v5 v5.16.5 h1:mdkuqblwr57kVfXri5TTH+nMFLNUxIj9Z7F5ykFbw5s=
34+
github.com/go-git/go-git/v5 v5.16.5/go.mod h1:QOMLpNf1qxuSY4StA/ArOdfFR2TrKEjJiye2kel2m+M=
3535
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8 h1:f+oWsMOmNPc8JmEHVZIycC7hBoQxHH9pNKQORJNozsQ=
3636
github.com/golang/groupcache v0.0.0-20241129210726-2c02b8208cf8/go.mod h1:wcDNUvekVysuuOpQKo3191zZyTpiI6se1N1ULghS0sw=
3737
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
@@ -85,13 +85,13 @@ github.com/xanzy/ssh-agent v0.3.3/go.mod h1:6dzNDKs0J9rVPHPhaGCukekBHKqfl+L3KghI
8585
gitlab.com/gitlab-org/api/client-go v1.18.0 h1:U3CbrRB0DqgOQ60ss8SJ2At3JHf+7QZJGaIUBkJiD9Y=
8686
gitlab.com/gitlab-org/api/client-go v1.18.0/go.mod h1:ctGKgv9bErQHO0NOrfhoyFtKMAkBhUE7y53F2xHFAkE=
8787
golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4=
88-
golang.org/x/crypto v0.37.0 h1:kJNSjF/Xp7kU0iB2Z+9viTPMW4EqqsrywMXLJOOsXSE=
89-
golang.org/x/crypto v0.37.0/go.mod h1:vg+k43peMZ0pUMhYmVAWysMK35e6ioLh3wB8ZCAfbVc=
88+
golang.org/x/crypto v0.45.0 h1:jMBrvKuj23MTlT0bQEOBcAE0mjg8mK9RXFhRH6nyF3Q=
89+
golang.org/x/crypto v0.45.0/go.mod h1:XTGrrkGJve7CYK7J8PEww4aY7gM3qMCElcJQ8n8JdX4=
9090
golang.org/x/exp v0.0.0-20250813145105-42675adae3e6 h1:SbTAbRFnd5kjQXbczszQ0hdk3ctwYf3qBNH9jIsGclE=
9191
golang.org/x/exp v0.0.0-20250813145105-42675adae3e6/go.mod h1:4QTo5u+SEIbbKW1RacMZq1YEfOBqeXa19JeshGi+zc4=
9292
golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y=
93-
golang.org/x/net v0.39.0 h1:ZCu7HMWDxpXpaiKdhzIfaltL9Lp31x/3fCP11bc6/fY=
94-
golang.org/x/net v0.39.0/go.mod h1:X7NRbYVEA+ewNkCNyJ513WmMdQ3BineSwVtN2zD/d+E=
93+
golang.org/x/net v0.47.0 h1:Mx+4dIFzqraBXUugkia1OOvlD6LemFo1ALMHjrXDOhY=
94+
golang.org/x/net v0.47.0/go.mod h1:/jNxtkgq5yWUGYkaZGqo27cfGZ1c5Nen03aYrrKpVRU=
9595
golang.org/x/oauth2 v0.34.0 h1:hqK/t4AKgbqWkdkcAeI8XLmbK+4m4G5YeQRrmiotGlw=
9696
golang.org/x/oauth2 v0.34.0/go.mod h1:lzm5WQJQwKZ3nwavOZ3IS5Aulzxi68dUSgRHujetwEA=
9797
golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
@@ -103,8 +103,8 @@ golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBc
103103
golang.org/x/sys v0.39.0 h1:CvCKL8MeisomCi6qNZ+wbb0DN9E5AATixKsvNtMoMFk=
104104
golang.org/x/sys v0.39.0/go.mod h1:OgkHotnGiDImocRcuBABYBEXf8A9a87e/uXjp9XT3ks=
105105
golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo=
106-
golang.org/x/term v0.31.0 h1:erwDkOK1Msy6offm1mOgvspSkslFnIGsFnxOKoufg3o=
107-
golang.org/x/term v0.31.0/go.mod h1:R4BeIy7D95HzImkxGkTW1UQTtP54tio2RyHz7PwK0aw=
106+
golang.org/x/term v0.37.0 h1:8EGAD0qCmHYZg6J17DvsMy9/wJ7/D/4pV/wfnld5lTU=
107+
golang.org/x/term v0.37.0/go.mod h1:5pB4lxRNYYVZuTLmy8oR2BH8dflOR+IbTYFD8fi3254=
108108
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
109109
golang.org/x/text v0.32.0 h1:ZD01bjUt1FQ9WJ0ClOL5vxgxOI/sVCNgX1YtKwcY0mU=
110110
golang.org/x/text v0.32.0/go.mod h1:o/rUWzghvpD5TXrTIBuJU77MTaN0ljMWE47kxGJQ7jY=

tools/go.mod

Lines changed: 26 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
module github.com/alexandear/import-gitlab-commits/tools
22

3-
go 1.24.0
3+
go 1.25.0
44

5-
require github.com/golangci/golangci-lint/v2 v2.8.0
5+
require github.com/golangci/golangci-lint/v2 v2.11.2
66

77
require (
88
4d63.com/gocheckcompilerdirectives v1.3.0 // indirect
@@ -21,12 +21,12 @@ require (
2121
github.com/BurntSushi/toml v1.6.0 // indirect
2222
github.com/Djarvur/go-err113 v0.1.1 // indirect
2323
github.com/Masterminds/semver/v3 v3.4.0 // indirect
24-
github.com/MirrexOne/unqueryvet v1.4.0 // indirect
24+
github.com/MirrexOne/unqueryvet v1.5.4 // indirect
2525
github.com/OpenPeeDeeP/depguard/v2 v2.2.1 // indirect
26-
github.com/alecthomas/chroma/v2 v2.21.1 // indirect
26+
github.com/alecthomas/chroma/v2 v2.23.1 // indirect
2727
github.com/alecthomas/go-check-sumtype v0.3.1 // indirect
2828
github.com/alexkohler/nakedret/v2 v2.0.6 // indirect
29-
github.com/alexkohler/prealloc v1.0.1 // indirect
29+
github.com/alexkohler/prealloc v1.1.0 // indirect
3030
github.com/alfatraining/structtag v1.0.0 // indirect
3131
github.com/alingse/asasalint v0.0.11 // indirect
3232
github.com/alingse/nilnesserr v0.2.0 // indirect
@@ -37,7 +37,7 @@ require (
3737
github.com/bkielbasa/cyclop v1.2.3 // indirect
3838
github.com/blizzy78/varnamelen v0.8.0 // indirect
3939
github.com/bombsimon/wsl/v4 v4.7.0 // indirect
40-
github.com/bombsimon/wsl/v5 v5.3.0 // indirect
40+
github.com/bombsimon/wsl/v5 v5.6.0 // indirect
4141
github.com/breml/bidichk v0.3.3 // indirect
4242
github.com/breml/errchkjson v0.4.1 // indirect
4343
github.com/butuzov/ireturn v0.4.0 // indirect
@@ -48,7 +48,7 @@ require (
4848
github.com/charithe/durationcheck v0.0.11 // indirect
4949
github.com/charmbracelet/colorprofile v0.2.3-0.20250311203215-f60798e515dc // indirect
5050
github.com/charmbracelet/lipgloss v1.1.0 // indirect
51-
github.com/charmbracelet/x/ansi v0.8.0 // indirect
51+
github.com/charmbracelet/x/ansi v0.10.1 // indirect
5252
github.com/charmbracelet/x/cellbuf v0.0.13-0.20250311204145-2c3ea96c31dd // indirect
5353
github.com/charmbracelet/x/term v0.2.1 // indirect
5454
github.com/ckaznocha/intrange v0.3.1 // indirect
@@ -64,7 +64,7 @@ require (
6464
github.com/firefart/nonamedreturns v1.0.6 // indirect
6565
github.com/fsnotify/fsnotify v1.5.4 // indirect
6666
github.com/fzipp/gocyclo v0.6.0 // indirect
67-
github.com/ghostiam/protogetter v0.3.18 // indirect
67+
github.com/ghostiam/protogetter v0.3.20 // indirect
6868
github.com/go-critic/go-critic v0.14.3 // indirect
6969
github.com/go-toolsmith/astcast v1.1.0 // indirect
7070
github.com/go-toolsmith/astcopy v1.1.0 // indirect
@@ -73,18 +73,18 @@ require (
7373
github.com/go-toolsmith/astp v1.1.0 // indirect
7474
github.com/go-toolsmith/strparse v1.1.0 // indirect
7575
github.com/go-toolsmith/typep v1.1.0 // indirect
76-
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
76+
github.com/go-viper/mapstructure/v2 v2.5.0 // indirect
7777
github.com/go-xmlfmt/xmlfmt v1.1.3 // indirect
7878
github.com/gobwas/glob v0.2.3 // indirect
79-
github.com/godoc-lint/godoc-lint v0.11.1 // indirect
79+
github.com/godoc-lint/godoc-lint v0.11.2 // indirect
8080
github.com/gofrs/flock v0.13.0 // indirect
8181
github.com/golang/protobuf v1.5.3 // indirect
8282
github.com/golangci/asciicheck v0.5.0 // indirect
8383
github.com/golangci/dupl v0.0.0-20250308024227-f665c8d69b32 // indirect
8484
github.com/golangci/go-printf-func-name v0.1.1 // indirect
8585
github.com/golangci/gofmt v0.0.0-20250106114630-d62b90e6713d // indirect
86-
github.com/golangci/golines v0.14.0 // indirect
87-
github.com/golangci/misspell v0.7.0 // indirect
86+
github.com/golangci/golines v0.15.0 // indirect
87+
github.com/golangci/misspell v0.8.0 // indirect
8888
github.com/golangci/plugin-module-register v0.1.2 // indirect
8989
github.com/golangci/revgrep v0.8.0 // indirect
9090
github.com/golangci/swaggoswag v0.0.0-20250504205917-77f2aca3143e // indirect
@@ -106,7 +106,7 @@ require (
106106
github.com/jjti/go-spancheck v0.6.5 // indirect
107107
github.com/julz/importas v0.2.0 // indirect
108108
github.com/karamaru-alpha/copyloopvar v1.2.2 // indirect
109-
github.com/kisielk/errcheck v1.9.0 // indirect
109+
github.com/kisielk/errcheck v1.10.0 // indirect
110110
github.com/kkHAIKE/contextcheck v1.1.6 // indirect
111111
github.com/kulti/thelper v0.7.1 // indirect
112112
github.com/kunwardeep/paralleltest v1.0.15 // indirect
@@ -130,15 +130,15 @@ require (
130130
github.com/mattn/go-isatty v0.0.20 // indirect
131131
github.com/mattn/go-runewidth v0.0.16 // indirect
132132
github.com/matttproud/golang_protobuf_extensions v1.0.1 // indirect
133-
github.com/mgechev/revive v1.13.0 // indirect
133+
github.com/mgechev/revive v1.15.0 // indirect
134134
github.com/mitchellh/go-homedir v1.1.0 // indirect
135135
github.com/mitchellh/mapstructure v1.5.0 // indirect
136136
github.com/moricho/tparallel v0.3.2 // indirect
137137
github.com/muesli/termenv v0.16.0 // indirect
138138
github.com/nakabonne/nestif v0.3.1 // indirect
139139
github.com/nishanths/exhaustive v0.12.0 // indirect
140140
github.com/nishanths/predeclared v0.2.2 // indirect
141-
github.com/nunnatsa/ginkgolinter v0.21.2 // indirect
141+
github.com/nunnatsa/ginkgolinter v0.23.0 // indirect
142142
github.com/pelletier/go-toml v1.9.5 // indirect
143143
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
144144
github.com/pmezard/go-difflib v1.0.0 // indirect
@@ -160,10 +160,10 @@ require (
160160
github.com/santhosh-tekuri/jsonschema/v6 v6.0.2 // indirect
161161
github.com/sashamelentyev/interfacebloat v1.1.0 // indirect
162162
github.com/sashamelentyev/usestdlibvars v1.29.0 // indirect
163-
github.com/securego/gosec/v2 v2.22.11 // indirect
164-
github.com/sirupsen/logrus v1.9.3 // indirect
163+
github.com/securego/gosec/v2 v2.24.7 // indirect
164+
github.com/sirupsen/logrus v1.9.4 // indirect
165165
github.com/sivchari/containedctx v1.0.3 // indirect
166-
github.com/sonatard/noctx v0.4.0 // indirect
166+
github.com/sonatard/noctx v0.5.0 // indirect
167167
github.com/sourcegraph/go-diff v0.7.0 // indirect
168168
github.com/spf13/afero v1.15.0 // indirect
169169
github.com/spf13/cast v1.5.0 // indirect
@@ -183,7 +183,7 @@ require (
183183
github.com/tommy-muehle/go-mnd/v2 v2.5.1 // indirect
184184
github.com/ultraware/funlen v0.2.0 // indirect
185185
github.com/ultraware/whitespace v0.2.0 // indirect
186-
github.com/uudashr/gocognit v1.2.0 // indirect
186+
github.com/uudashr/gocognit v1.2.1 // indirect
187187
github.com/uudashr/iface v1.4.1 // indirect
188188
github.com/xen0n/gosmopolitan v1.3.0 // indirect
189189
github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e // indirect
@@ -193,23 +193,22 @@ require (
193193
gitlab.com/bosi/decorder v0.4.2 // indirect
194194
go-simpler.org/musttag v0.14.0 // indirect
195195
go-simpler.org/sloglint v0.11.1 // indirect
196-
go.augendre.info/arangolint v0.3.1 // indirect
196+
go.augendre.info/arangolint v0.4.0 // indirect
197197
go.augendre.info/fatcontext v0.9.0 // indirect
198-
go.uber.org/automaxprocs v1.6.0 // indirect
199198
go.uber.org/multierr v1.10.0 // indirect
200199
go.uber.org/zap v1.27.0 // indirect
201200
go.yaml.in/yaml/v3 v3.0.4 // indirect
202-
golang.org/x/exp/typeparams v0.0.0-20251023183803-a4bb9ffd2546 // indirect
203-
golang.org/x/mod v0.31.0 // indirect
201+
golang.org/x/exp/typeparams v0.0.0-20260209203927-2842357ff358 // indirect
202+
golang.org/x/mod v0.33.0 // indirect
204203
golang.org/x/sync v0.19.0 // indirect
205-
golang.org/x/sys v0.39.0 // indirect
206-
golang.org/x/text v0.31.0 // indirect
207-
golang.org/x/tools v0.40.0 // indirect
204+
golang.org/x/sys v0.41.0 // indirect
205+
golang.org/x/text v0.34.0 // indirect
206+
golang.org/x/tools v0.42.0 // indirect
208207
google.golang.org/protobuf v1.36.8 // indirect
209208
gopkg.in/ini.v1 v1.67.0 // indirect
210209
gopkg.in/yaml.v2 v2.4.0 // indirect
211210
gopkg.in/yaml.v3 v3.0.1 // indirect
212-
honnef.co/go/tools v0.6.1 // indirect
211+
honnef.co/go/tools v0.7.0 // indirect
213212
mvdan.cc/gofumpt v0.9.2 // indirect
214213
mvdan.cc/unparam v0.0.0-20251027182757-5beb8c8f8f15 // indirect
215214
)

0 commit comments

Comments
 (0)