Skip to content

Commit e4aef3c

Browse files
sergeyfastsas1024
andauthored
Update dependencies (#10)
* Update dependencies * Move to go 1.25 * Use custom go-pg * Update Github Actions --------- Co-authored-by: Alexander Korelskiy <korelskiy@uteka.ru>
1 parent 2d9bdd7 commit e4aef3c

File tree

266 files changed

+6997
-1671
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

266 files changed

+6997
-1671
lines changed

.github/workflows/go.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ jobs:
3434
--health-retries 5
3535
steps:
3636
- name: Set up Go
37-
uses: actions/setup-go@v5
37+
uses: actions/setup-go@v6
3838
with:
39-
go-version: '1.24.x'
39+
go-version: '1.25.x'
4040

41-
- uses: actions/checkout@v2
41+
- uses: actions/checkout@v6
4242

4343
- name: Prepare test db
4444
run: make db-test
@@ -49,25 +49,25 @@ jobs:
4949
test-short:
5050
runs-on: ubuntu-latest
5151
steps:
52-
- uses: actions/checkout@v2
52+
- uses: actions/checkout@v6
5353

5454
- name: Set up Go
55-
uses: actions/setup-go@v5
55+
uses: actions/setup-go@v6
5656
with:
57-
go-version: '1.24.x'
57+
go-version: '1.25.x'
5858

5959
- name: Tests without db
6060
run: make test-short
6161

6262
build:
6363
runs-on: ubuntu-latest
6464
steps:
65-
- uses: actions/checkout@v4
65+
- uses: actions/checkout@v6
6666

6767
- name: Set up Go
68-
uses: actions/setup-go@v5
68+
uses: actions/setup-go@v6
6969
with:
70-
go-version: '1.24.x'
70+
go-version: '1.25.x'
7171

7272
- name: Build
7373
run: go build -v ./...

.github/workflows/golangci-lint.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,11 @@ jobs:
1616
name: lint
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/setup-go@v5
19+
- uses: actions/setup-go@v6
2020
with:
21-
go-version: '1.24.x'
22-
- uses: actions/checkout@v4
21+
go-version: '1.25.x'
22+
- uses: actions/checkout@v6
2323
- name: golangci-lint
24-
uses: golangci/golangci-lint-action@v7
24+
uses: golangci/golangci-lint-action@v9
2525
with:
26-
version: v2.5.0
26+
version: v2.8.0

.golangci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ linters:
3030
- gocritic # provides diagnostics that check for bugs, performance and style issues
3131
- gocyclo # computes and checks the cyclomatic complexity of functions
3232
# - godot # checks if comments end in a period
33-
- gomoddirectives # manages the use of 'replace', 'retract', and 'excludes' directives in go.mod
33+
# - gomoddirectives # manages the use of 'replace', 'retract', and 'excludes' directives in go.mod
3434
- goprintffuncname # checks that printf-like functions are named with f at the end
3535
# - gosec # inspects source code for security problems
3636
- govet # reports suspicious constructs, such as Printf calls whose arguments do not align with the format string

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ifeq ($(RACE),1)
88
GOFLAGS+=-race
99
endif
1010

11-
LINT_VERSION := v2.5.0
11+
LINT_VERSION := v2.8.0
1212

1313
MAIN := ${NAME}/cmd/${NAME}
1414

go.mod

Lines changed: 23 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,35 +1,35 @@
11
module apisrv
22

3-
go 1.24.5
3+
go 1.25
44

55
require (
6-
github.com/BurntSushi/toml v1.5.0
7-
github.com/getsentry/sentry-go v0.36.2
6+
github.com/BurntSushi/toml v1.6.0
7+
github.com/getsentry/sentry-go v0.41.0
88
github.com/go-pg/pg/v10 v10.15.0
99
github.com/go-pg/urlstruct v1.0.1
10-
github.com/go-playground/validator/v10 v10.28.0
10+
github.com/go-playground/validator/v10 v10.30.1
1111
github.com/hypnoglow/go-pg-monitor v1.2.0
1212
github.com/hypnoglow/go-pg-monitor/gopgv10 v1.2.0
13-
github.com/labstack/echo/v4 v4.13.4
13+
github.com/labstack/echo/v4 v4.15.0
1414
github.com/namsral/flag v1.7.4-pre
1515
github.com/prometheus/client_golang v1.23.2
1616
github.com/smartystreets/goconvey v1.8.1
1717
github.com/vmkteam/appkit v0.1.2
1818
github.com/vmkteam/embedlog v0.1.3
19-
github.com/vmkteam/rpcgen/v2 v2.5.0
20-
github.com/vmkteam/vfs v1.4.1
19+
github.com/vmkteam/rpcgen/v2 v2.5.4
20+
github.com/vmkteam/vfs v1.4.3
2121
github.com/vmkteam/zenrpc-middleware v1.3.2
22-
github.com/vmkteam/zenrpc/v2 v2.3.0
23-
golang.org/x/crypto v0.44.0
22+
github.com/vmkteam/zenrpc/v2 v2.3.1
23+
golang.org/x/crypto v0.47.0
2424
)
2525

2626
require (
2727
github.com/bbrks/go-blurhash v1.1.1 // indirect
2828
github.com/beorn7/perks v1.0.1 // indirect
2929
github.com/cespare/xxhash/v2 v2.3.0 // indirect
3030
github.com/codemodus/kace v0.5.1 // indirect
31-
github.com/gabriel-vasile/mimetype v1.4.11 // indirect
32-
github.com/getsentry/sentry-go/echo v0.35.3 // indirect
31+
github.com/gabriel-vasile/mimetype v1.4.12 // indirect
32+
github.com/getsentry/sentry-go/echo v0.41.0 // indirect
3333
github.com/go-pg/zerochecker v0.2.0 // indirect
3434
github.com/go-playground/locales v0.14.1 // indirect
3535
github.com/go-playground/universal-translator v0.18.1 // indirect
@@ -46,8 +46,8 @@ require (
4646
github.com/mattn/go-isatty v0.0.20 // indirect
4747
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
4848
github.com/prometheus/client_model v0.6.2 // indirect
49-
github.com/prometheus/common v0.66.1 // indirect
50-
github.com/prometheus/procfs v0.17.0 // indirect
49+
github.com/prometheus/common v0.67.5 // indirect
50+
github.com/prometheus/procfs v0.19.2 // indirect
5151
github.com/smarty/assertions v1.16.0 // indirect
5252
github.com/tmthrgd/go-hex v0.0.0-20190904060850-447a3041c3bc // indirect
5353
github.com/valyala/bytebufferpool v1.0.0 // indirect
@@ -60,15 +60,17 @@ require (
6060
github.com/vmkteam/zenrpc v1.1.1 // indirect
6161
go.uber.org/atomic v1.11.0 // indirect
6262
go.yaml.in/yaml/v2 v2.4.3 // indirect
63-
golang.org/x/mod v0.29.0 // indirect
64-
golang.org/x/net v0.46.0 // indirect
65-
golang.org/x/sync v0.18.0 // indirect
66-
golang.org/x/sys v0.38.0 // indirect
67-
golang.org/x/text v0.31.0 // indirect
68-
golang.org/x/time v0.13.0 // indirect
69-
golang.org/x/tools v0.38.0 // indirect
70-
google.golang.org/protobuf v1.36.10 // indirect
63+
golang.org/x/mod v0.32.0 // indirect
64+
golang.org/x/net v0.49.0 // indirect
65+
golang.org/x/sync v0.19.0 // indirect
66+
golang.org/x/sys v0.40.0 // indirect
67+
golang.org/x/text v0.33.0 // indirect
68+
golang.org/x/time v0.14.0 // indirect
69+
golang.org/x/tools v0.41.0 // indirect
70+
google.golang.org/protobuf v1.36.11 // indirect
7171
mellium.im/sasl v0.3.2 // indirect
7272
)
7373

7474
tool github.com/vmkteam/zenrpc/v2/zenrpc
75+
76+
replace github.com/go-pg/pg/v10 => github.com/vmkteam/pg/v10 v10.15.0-custom

0 commit comments

Comments
 (0)