Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ jobs:
--health-retries 5
steps:
- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: '1.24.x'
go-version: '1.25.x'

- uses: actions/checkout@v2
- uses: actions/checkout@v6

- name: Prepare test db
run: make db-test
Expand All @@ -49,25 +49,25 @@ jobs:
test-short:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v6

- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: '1.24.x'
go-version: '1.25.x'

- name: Tests without db
run: make test-short

build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6

- name: Set up Go
uses: actions/setup-go@v5
uses: actions/setup-go@v6
with:
go-version: '1.24.x'
go-version: '1.25.x'

- name: Build
run: go build -v ./...
10 changes: 5 additions & 5 deletions .github/workflows/golangci-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ jobs:
name: lint
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
- uses: actions/setup-go@v6
with:
go-version: '1.24.x'
- uses: actions/checkout@v4
go-version: '1.25.x'
- uses: actions/checkout@v6
- name: golangci-lint
uses: golangci/golangci-lint-action@v7
uses: golangci/golangci-lint-action@v9
with:
version: v2.5.0
version: v2.8.0
2 changes: 1 addition & 1 deletion .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ linters:
- gocritic # provides diagnostics that check for bugs, performance and style issues
- gocyclo # computes and checks the cyclomatic complexity of functions
# - godot # checks if comments end in a period
- gomoddirectives # manages the use of 'replace', 'retract', and 'excludes' directives in go.mod
# - gomoddirectives # manages the use of 'replace', 'retract', and 'excludes' directives in go.mod
- goprintffuncname # checks that printf-like functions are named with f at the end
# - gosec # inspects source code for security problems
- govet # reports suspicious constructs, such as Printf calls whose arguments do not align with the format string
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ifeq ($(RACE),1)
GOFLAGS+=-race
endif

LINT_VERSION := v2.5.0
LINT_VERSION := v2.8.0

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

Expand Down
44 changes: 23 additions & 21 deletions go.mod
Original file line number Diff line number Diff line change
@@ -1,35 +1,35 @@
module apisrv

go 1.24.5
go 1.25

require (
github.com/BurntSushi/toml v1.5.0
github.com/getsentry/sentry-go v0.36.2
github.com/BurntSushi/toml v1.6.0
github.com/getsentry/sentry-go v0.41.0
github.com/go-pg/pg/v10 v10.15.0
github.com/go-pg/urlstruct v1.0.1
github.com/go-playground/validator/v10 v10.28.0
github.com/go-playground/validator/v10 v10.30.1
github.com/hypnoglow/go-pg-monitor v1.2.0
github.com/hypnoglow/go-pg-monitor/gopgv10 v1.2.0
github.com/labstack/echo/v4 v4.13.4
github.com/labstack/echo/v4 v4.15.0
github.com/namsral/flag v1.7.4-pre
github.com/prometheus/client_golang v1.23.2
github.com/smartystreets/goconvey v1.8.1
github.com/vmkteam/appkit v0.1.2
github.com/vmkteam/embedlog v0.1.3
github.com/vmkteam/rpcgen/v2 v2.5.0
github.com/vmkteam/vfs v1.4.1
github.com/vmkteam/rpcgen/v2 v2.5.4
github.com/vmkteam/vfs v1.4.3
github.com/vmkteam/zenrpc-middleware v1.3.2
github.com/vmkteam/zenrpc/v2 v2.3.0
golang.org/x/crypto v0.44.0
github.com/vmkteam/zenrpc/v2 v2.3.1
golang.org/x/crypto v0.47.0
)

require (
github.com/bbrks/go-blurhash v1.1.1 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cespare/xxhash/v2 v2.3.0 // indirect
github.com/codemodus/kace v0.5.1 // indirect
github.com/gabriel-vasile/mimetype v1.4.11 // indirect
github.com/getsentry/sentry-go/echo v0.35.3 // indirect
github.com/gabriel-vasile/mimetype v1.4.12 // indirect
github.com/getsentry/sentry-go/echo v0.41.0 // indirect
github.com/go-pg/zerochecker v0.2.0 // indirect
github.com/go-playground/locales v0.14.1 // indirect
github.com/go-playground/universal-translator v0.18.1 // indirect
Expand All @@ -46,8 +46,8 @@ require (
github.com/mattn/go-isatty v0.0.20 // indirect
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
github.com/prometheus/client_model v0.6.2 // indirect
github.com/prometheus/common v0.66.1 // indirect
github.com/prometheus/procfs v0.17.0 // indirect
github.com/prometheus/common v0.67.5 // indirect
github.com/prometheus/procfs v0.19.2 // indirect
github.com/smarty/assertions v1.16.0 // indirect
github.com/tmthrgd/go-hex v0.0.0-20190904060850-447a3041c3bc // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
Expand All @@ -60,15 +60,17 @@ require (
github.com/vmkteam/zenrpc v1.1.1 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.yaml.in/yaml/v2 v2.4.3 // indirect
golang.org/x/mod v0.29.0 // indirect
golang.org/x/net v0.46.0 // indirect
golang.org/x/sync v0.18.0 // indirect
golang.org/x/sys v0.38.0 // indirect
golang.org/x/text v0.31.0 // indirect
golang.org/x/time v0.13.0 // indirect
golang.org/x/tools v0.38.0 // indirect
google.golang.org/protobuf v1.36.10 // indirect
golang.org/x/mod v0.32.0 // indirect
golang.org/x/net v0.49.0 // indirect
golang.org/x/sync v0.19.0 // indirect
golang.org/x/sys v0.40.0 // indirect
golang.org/x/text v0.33.0 // indirect
golang.org/x/time v0.14.0 // indirect
golang.org/x/tools v0.41.0 // indirect
google.golang.org/protobuf v1.36.11 // indirect
mellium.im/sasl v0.3.2 // indirect
)

tool github.com/vmkteam/zenrpc/v2/zenrpc

replace github.com/go-pg/pg/v10 => github.com/vmkteam/pg/v10 v10.15.0-custom
Loading
Loading