Skip to content

Commit 3fc6692

Browse files
committed
1 parent 410969b commit 3fc6692

28 files changed

+260
-178
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,13 @@ jobs:
2929
steps:
3030
# Harden workflow runner
3131
- name: Harden workflow runner (audit all outbound calls)
32-
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
32+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
3333
with:
3434
egress-policy: audit
3535

3636
# Checkout code
3737
- name: Checkout repository
38-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
38+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3939
with:
4040
persist-credentials: false
4141

@@ -48,7 +48,7 @@ jobs:
4848

4949
# Go
5050
- name: Set up Go
51-
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
51+
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
5252
with:
5353
go-version: 1.25.x
5454

@@ -91,13 +91,13 @@ jobs:
9191
steps:
9292
# Harden workflow runner
9393
- name: Harden workflow runner (audit all outbound calls)
94-
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
94+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
9595
with:
9696
egress-policy: audit
9797

9898
# Checkout code
9999
- name: Checkout repository
100-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
100+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
101101
with:
102102
persist-credentials: false
103103

@@ -110,7 +110,7 @@ jobs:
110110

111111
# Go
112112
- name: Set up Go
113-
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
113+
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
114114
with:
115115
go-version: 1.25.x
116116

@@ -127,7 +127,7 @@ jobs:
127127
id: buf-setup
128128
uses: bufbuild/buf-action@8f4a1456a0ab6a1eb80ba68e53832e6fcfacc16c # v1.3.0
129129
with:
130-
version: 1.62.1
130+
version: 1.63.0
131131
lint: true
132132
format: true
133133
breaking: ${{ !contains(env.commit_msg, '[skip buf-breaking]') }}
@@ -148,13 +148,13 @@ jobs:
148148
steps:
149149
# Harden workflow runner
150150
- name: Harden workflow runner (audit all outbound calls)
151-
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
151+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
152152
with:
153153
egress-policy: audit
154154

155155
# Checkout code
156156
- name: Checkout repository
157-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
157+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
158158
with:
159159
persist-credentials: false
160160

@@ -167,7 +167,7 @@ jobs:
167167

168168
# Go
169169
- name: Set up Go
170-
uses: actions/setup-go@4dc6199c7b1a012772edbd06daecab0f50c9053c # v6.1.0
170+
uses: actions/setup-go@7a3fe6cf4cb3a834922a1244abfce67bcef6a0c5 # v6.2.0
171171
with:
172172
go-version: ${{ matrix.go-version }}
173173

@@ -176,7 +176,7 @@ jobs:
176176
- name: Static analysis
177177
uses: golangci/golangci-lint-action@1e7e51e771db61008b38414a730f564565cf7c20 # v9.2.0
178178
with:
179-
version: v2.7
179+
version: v2.8
180180

181181
# Run unit tests
182182
- name: Test

.github/workflows/codeql.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,13 @@ jobs:
2626
steps:
2727
# Harden workflow runner
2828
- name: Harden workflow runner (audit all outbound calls)
29-
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
29+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
3030
with:
3131
egress-policy: audit
3232

3333
# Checkout code
3434
- name: Checkout repository
35-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
35+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3636
with:
3737
persist-credentials: false
3838

.github/workflows/dependency-review.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,13 @@ jobs:
1313
steps:
1414
# Harden workflow runner
1515
- name: Harden workflow runner (audit all outbound calls)
16-
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
16+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
1717
with:
1818
egress-policy: audit
1919

2020
# Checkout code
2121
- name: Checkout repository
22-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
22+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2323
with:
2424
persist-credentials: false
2525

.github/workflows/maintenance.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414
# Harden workflow runner
1515
- name: Harden workflow runner (audit all outbound calls)
16-
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
16+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
1717
with:
1818
egress-policy: audit
1919

.github/workflows/ossf-scorecard.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ jobs:
1818
steps:
1919
# Harden workflow runner
2020
- name: Harden workflow runner (audit all outbound calls)
21-
uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
21+
uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
2222
with:
2323
egress-policy: audit
2424

2525
# Checkout code
2626
- name: Checkout repository
27-
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
27+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
2828
with:
2929
persist-credentials: false
3030

.golangci.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,15 @@ linters:
101101
- name: cognitive-complexity
102102
severity: warning
103103
disabled: true
104+
# accept package names
105+
- name: var-naming
106+
severity: warning
107+
disabled: true
104108
exclusions:
105109
generated: lax
106110
rules:
107-
- linters:
111+
- path: (.+)_test.go
112+
linters:
108113
- dupl
109114
- errcheck
110115
- funlen
@@ -114,8 +119,14 @@ linters:
114119
- nakedret
115120
- nestif
116121
- noctx
122+
- prealloc
123+
- revive
124+
- path: internal
125+
linters:
126+
- revive
127+
- path: net/http
128+
linters:
117129
- revive
118-
path: (.+)_test.go
119130
paths:
120131
- crypto/vrf/*
121132
- third_party$

go.mod

Lines changed: 33 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -20,46 +20,46 @@ require (
2020
github.com/gorilla/handlers v1.5.2
2121
github.com/gorilla/websocket v1.5.3
2222
github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0
23-
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.4
23+
github.com/grpc-ecosystem/grpc-gateway/v2 v2.27.7
2424
github.com/nil-go/konf v1.4.0
2525
github.com/nil-go/konf/provider/file v1.4.0
2626
github.com/nil-go/konf/provider/pflag v1.4.0
2727
github.com/prometheus/client_golang v1.23.2
2828
github.com/prometheus/client_model v0.6.2
2929
github.com/rabbitmq/amqp091-go v1.10.0
3030
github.com/rs/zerolog v1.34.0
31-
github.com/sirupsen/logrus v1.9.3
31+
github.com/sirupsen/logrus v1.9.4
3232
github.com/soheilhy/cmux v0.1.5
3333
github.com/spf13/cobra v1.10.2
3434
github.com/spf13/pflag v1.0.10
3535
github.com/spf13/viper v1.21.0
3636
github.com/stretchr/testify v1.11.1
37-
go.mongodb.org/mongo-driver v1.17.6
38-
go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo v0.64.0
39-
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.64.0
40-
go.opentelemetry.io/contrib/instrumentation/host v0.64.0
41-
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.64.0
42-
go.opentelemetry.io/contrib/instrumentation/runtime v0.64.0
43-
go.opentelemetry.io/otel v1.39.0
44-
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.39.0
45-
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.39.0
46-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.39.0
47-
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.39.0
48-
go.opentelemetry.io/otel/exporters/prometheus v0.61.0
49-
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.39.0
50-
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.39.0
51-
go.opentelemetry.io/otel/metric v1.39.0
52-
go.opentelemetry.io/otel/sdk v1.39.0
53-
go.opentelemetry.io/otel/sdk/metric v1.39.0
54-
go.opentelemetry.io/otel/trace v1.39.0
55-
go.temporal.io/sdk v1.38.0
37+
go.mongodb.org/mongo-driver v1.17.8
38+
go.opentelemetry.io/contrib/instrumentation/go.mongodb.org/mongo-driver/mongo/otelmongo v0.65.0
39+
go.opentelemetry.io/contrib/instrumentation/google.golang.org/grpc/otelgrpc v0.65.0
40+
go.opentelemetry.io/contrib/instrumentation/host v0.65.0
41+
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.65.0
42+
go.opentelemetry.io/contrib/instrumentation/runtime v0.65.0
43+
go.opentelemetry.io/otel v1.40.0
44+
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v1.40.0
45+
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.40.0
46+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.40.0
47+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.40.0
48+
go.opentelemetry.io/otel/exporters/prometheus v0.62.0
49+
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.40.0
50+
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.40.0
51+
go.opentelemetry.io/otel/metric v1.40.0
52+
go.opentelemetry.io/otel/sdk v1.40.0
53+
go.opentelemetry.io/otel/sdk/metric v1.40.0
54+
go.opentelemetry.io/otel/trace v1.40.0
55+
go.temporal.io/sdk v1.39.0
5656
go.uber.org/goleak v1.3.0
5757
go.uber.org/zap v1.27.1
58-
golang.org/x/crypto v0.46.0
58+
golang.org/x/crypto v0.47.0
5959
golang.org/x/sync v0.19.0
60-
golang.org/x/term v0.38.0
60+
golang.org/x/term v0.39.0
6161
golang.org/x/time v0.14.0
62-
google.golang.org/genproto/googleapis/api v0.0.0-20251222181119-0a764e51fe1b
62+
google.golang.org/genproto/googleapis/api v0.0.0-20260128011058-8636f8732409
6363
google.golang.org/grpc v1.78.0
6464
google.golang.org/protobuf v1.36.11
6565
gopkg.in/yaml.v3 v3.0.1
@@ -99,7 +99,7 @@ require (
9999
github.com/inconshreveable/mousetrap v1.1.0 // indirect
100100
github.com/jinzhu/inflection v1.0.0 // indirect
101101
github.com/jinzhu/now v1.1.5 // indirect
102-
github.com/klauspost/compress v1.18.2 // indirect
102+
github.com/klauspost/compress v1.18.3 // indirect
103103
github.com/lucasb-eyer/go-colorful v1.2.0 // indirect
104104
github.com/lufia/plan9stats v0.0.0-20251013123823-9fd1530e3ec3 // indirect
105105
github.com/mattn/go-colorable v0.1.13 // indirect
@@ -112,13 +112,13 @@ require (
112112
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
113113
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
114114
github.com/power-devops/perfstat v0.0.0-20240221224432-82ca36839d55 // indirect
115-
github.com/prometheus/common v0.67.4 // indirect
115+
github.com/prometheus/common v0.67.5 // indirect
116116
github.com/prometheus/otlptranslator v1.0.0 // indirect
117117
github.com/prometheus/procfs v0.19.2 // indirect
118118
github.com/rivo/uniseg v0.4.7 // indirect
119119
github.com/robfig/cron v1.2.0 // indirect
120120
github.com/sagikazarmark/locafero v0.11.0 // indirect
121-
github.com/shirou/gopsutil/v4 v4.25.11 // indirect
121+
github.com/shirou/gopsutil/v4 v4.26.1 // indirect
122122
github.com/sourcegraph/conc v0.3.1-0.20240121214520-5f936abd7ae8 // indirect
123123
github.com/spf13/afero v1.15.0 // indirect
124124
github.com/spf13/cast v1.10.0 // indirect
@@ -135,15 +135,15 @@ require (
135135
github.com/yusufpapurcu/wmi v1.2.4 // indirect
136136
github.com/zeebo/errs v1.4.0 // indirect
137137
go.opentelemetry.io/auto/sdk v1.2.1 // indirect
138-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.39.0 // indirect
138+
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.40.0 // indirect
139139
go.opentelemetry.io/proto/otlp v1.9.0 // indirect
140-
go.temporal.io/api v1.54.0 // indirect
140+
go.temporal.io/api v1.59.0 // indirect
141141
go.uber.org/multierr v1.11.0 // indirect
142142
go.yaml.in/yaml/v2 v2.4.3 // indirect
143143
go.yaml.in/yaml/v3 v3.0.4 // indirect
144144
golang.org/x/exp v0.0.0-20250813145105-42675adae3e6 // indirect
145-
golang.org/x/net v0.47.0 // indirect
146-
golang.org/x/sys v0.39.0 // indirect
147-
golang.org/x/text v0.32.0 // indirect
148-
google.golang.org/genproto/googleapis/rpc v0.0.0-20251222181119-0a764e51fe1b // indirect
145+
golang.org/x/net v0.49.0 // indirect
146+
golang.org/x/sys v0.40.0 // indirect
147+
golang.org/x/text v0.33.0 // indirect
148+
google.golang.org/genproto/googleapis/rpc v0.0.0-20260128011058-8636f8732409 // indirect
149149
)

0 commit comments

Comments
 (0)