Skip to content

Commit 4820373

Browse files
committed
update deps; update aux files
1 parent 36b80ef commit 4820373

File tree

172 files changed

+113580
-79278
lines changed

Some content is hidden

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

172 files changed

+113580
-79278
lines changed

.github/workflows/workflow.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ jobs:
1818
steps:
1919
- uses: actions/checkout@v4
2020
- uses: actions/setup-go@v5
21-
- uses: extractions/setup-just@v1
21+
- uses: extractions/setup-just@e33e0265a09d6d736e2ee1e0eb685ef1de4669ff # v3
2222
- name: lint
23-
uses: golangci/golangci-lint-action@v6
23+
uses: golangci/golangci-lint-action@4afd733a84b1f43292c63897423277bb7f4313a9 # v8.0.0
2424
with:
2525
version: latest
2626
- name: test
@@ -31,16 +31,16 @@ jobs:
3131
runs-on: self-hosted
3232
steps:
3333
- name: Set up Docker Buildx
34-
uses: docker/setup-buildx-action@v1
34+
uses: docker/setup-buildx-action@e468171a9de216ec08956ac3ada2f0791b6bd435 # v3.11.1
3535
- name: Login to ghcr.io
36-
uses: docker/login-action@v3
36+
uses: docker/login-action@74a5d142397b4f367a81961eba4e8cd7edddf772 # v3.4.0
3737
with:
3838
registry: ghcr.io
3939
username: ${{ github.actor }}
4040
password: ${{ secrets.GITHUB_TOKEN }}
4141
- name: Extract metadata (tags, labels) for Docker
4242
id: meta
43-
uses: docker/metadata-action@v5
43+
uses: docker/metadata-action@902fa8ec7d6ecbf8d84d538b9b233a880e428804 # v5.7.0
4444
with:
4545
images: |
4646
ghcr.io/${{ github.repository }}
@@ -49,7 +49,7 @@ jobs:
4949
type=raw,value=latest,enable=${{ github.ref_name == 'main' }}
5050
type=semver,pattern={{raw}}
5151
- name: Build and push
52-
uses: docker/build-push-action@v6
52+
uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6.18.0
5353
with:
5454
platforms: linux/amd64,linux/arm64
5555
push: true
@@ -66,7 +66,7 @@ jobs:
6666
fetch-depth: 0
6767
- uses: actions/setup-go@v5
6868
- name: Release
69-
uses: goreleaser/goreleaser-action@v6
69+
uses: goreleaser/goreleaser-action@9c156ee8a17a598857849441385a2041ef570552 # v6.3.0
7070
with:
7171
version: latest
7272
args: release --clean

.golangci.yml

Lines changed: 101 additions & 95 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,16 @@
1+
version: "2"
12
run:
23
concurrency: 4
3-
timeout: 30m
4+
modules-download-mode: readonly
45
issues-exit-code: 1
56
tests: true
6-
build-tags: []
7-
modules-download-mode: readonly
8-
97
output:
108
formats:
11-
- format: colored-line-number
12-
print-issued-lines: true
13-
print-linter-name: true
14-
sort-results: true
15-
16-
linters-settings:
17-
decorder:
18-
dec-order:
19-
- const
20-
- var
21-
- type
22-
- func
23-
dogsled:
24-
max-blank-identifiers: 3
25-
errcheck:
26-
check-type-assertions: true
27-
check-blank: true
28-
errchkjson:
29-
report-no-exported: true
30-
exhaustive:
31-
check:
32-
- switch
33-
- map
34-
default-signifies-exhaustive: true
35-
gocognit:
36-
min-complexity: 15
37-
nestif:
38-
min-complexity: 5
39-
gocritic:
40-
enabled-tags:
41-
- diagnostic
42-
- style
43-
- performance
44-
gofmt:
45-
simplify: true
46-
rewrite-rules:
47-
- pattern: 'interface{}'
48-
replacement: 'any'
49-
- pattern: 'a[b:len(a)]'
50-
replacement: 'a[b:]'
51-
gofumpt:
52-
extra-rules: true
53-
grouper:
54-
const-require-single-const: true
55-
import-require-single-import: true
56-
var-require-single-var: true
57-
misspell:
58-
locale: US
59-
usestdlibvars:
60-
time-month: true
61-
time-layout: true
62-
crypto-hash: true
63-
default-rpc-path: true
64-
sql-isolation-level: true
65-
tls-signature-scheme: true
66-
constant-kind: true
67-
unparam:
68-
check-exported: true
9+
text:
10+
path: stdout
11+
print-linter-name: true
12+
print-issued-lines: true
6913
linters:
70-
disable-all: false
7114
enable:
7215
- asasalint
7316
- asciicheck
@@ -80,7 +23,6 @@ linters:
8023
- dupl
8124
- dupword
8225
- durationcheck
83-
- errcheck
8426
- errchkjson
8527
- errname
8628
- errorlint
@@ -89,14 +31,8 @@ linters:
8931
- gocognit
9032
- gocritic
9133
- gocyclo
92-
- gofmt
93-
- gofumpt
94-
- goimports
9534
- gosec
96-
- gosimple
9735
- gosmopolitan
98-
- govet
99-
- ineffassign
10036
- makezero
10137
- mirror
10238
- misspell
@@ -106,36 +42,106 @@ linters:
10642
- predeclared
10743
- revive
10844
- sqlclosecheck
109-
- staticcheck
11045
- unconvert
11146
- unparam
112-
- unused
11347
- usestdlibvars
11448
- wastedassign
115-
fast: false
116-
117-
49+
settings:
50+
decorder:
51+
dec-order:
52+
- const
53+
- var
54+
- type
55+
- func
56+
dogsled:
57+
max-blank-identifiers: 3
58+
errcheck:
59+
check-type-assertions: true
60+
check-blank: true
61+
errchkjson:
62+
report-no-exported: true
63+
exhaustive:
64+
check:
65+
- switch
66+
- map
67+
default-signifies-exhaustive: true
68+
gocognit:
69+
min-complexity: 15
70+
gocritic:
71+
enabled-tags:
72+
- diagnostic
73+
- style
74+
- performance
75+
grouper:
76+
const-require-single-const: true
77+
import-require-single-import: true
78+
var-require-single-var: true
79+
misspell:
80+
locale: US
81+
nestif:
82+
min-complexity: 5
83+
unparam:
84+
check-exported: true
85+
usestdlibvars:
86+
time-month: true
87+
time-layout: true
88+
crypto-hash: true
89+
default-rpc-path: true
90+
sql-isolation-level: true
91+
tls-signature-scheme: true
92+
constant-kind: true
93+
exclusions:
94+
generated: lax
95+
presets:
96+
- comments
97+
- common-false-positives
98+
- legacy
99+
- std-error-handling
100+
rules:
101+
- linters:
102+
- dupl
103+
- errcheck
104+
- gocognit
105+
- gocyclo
106+
- gosec
107+
path: _test\.go
108+
- linters:
109+
- staticcheck
110+
text: 'SA9003:'
111+
- linters:
112+
- lll
113+
source: '^//go:generate '
114+
- linters:
115+
- revive
116+
text: returns unexported type
117+
paths:
118+
- mocks
119+
- third_party$
120+
- builtin$
121+
- examples$
118122
issues:
119-
exclude-dirs-use-default: true
120-
exclude-dirs:
121-
- mocks
122-
exclude-rules:
123-
- path: _test\.go
124-
linters:
125-
- gocyclo
126-
- gocognit
127-
- errcheck
128-
- dupl
129-
- gosec
130-
- linters:
131-
- staticcheck
132-
text: "SA9003:"
133-
- linters:
134-
- lll
135-
source: "^//go:generate "
136-
- linters:
137-
- revive
138-
text: "returns unexported type"
139123
max-issues-per-linter: 0
140124
max-same-issues: 0
141125
new: false
126+
formatters:
127+
enable:
128+
- gofmt
129+
- gofumpt
130+
- goimports
131+
settings:
132+
gofmt:
133+
simplify: true
134+
rewrite-rules:
135+
- pattern: interface{}
136+
replacement: any
137+
- pattern: a[b:len(a)]
138+
replacement: a[b:]
139+
gofumpt:
140+
extra-rules: true
141+
exclusions:
142+
generated: lax
143+
paths:
144+
- mocks
145+
- third_party$
146+
- builtin$
147+
- examples$

go.mod

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,28 @@ go 1.23.0
55
toolchain go1.23.5
66

77
require (
8-
github.com/VictoriaMetrics/metrics v1.35.2
8+
github.com/VictoriaMetrics/metrics v1.38.0
99
github.com/archdx/zerolog-sentry v1.8.5
1010
github.com/dustin/go-humanize v1.0.1
11-
github.com/etkecc/go-echo-basic-auth v1.2.0
11+
github.com/etkecc/go-echo-basic-auth v1.3.0
1212
github.com/etkecc/go-env v1.2.1
1313
github.com/etkecc/go-healthchecks/v2 v2.2.2
14-
github.com/etkecc/go-kit v1.6.0
15-
github.com/etkecc/go-linkpearl v0.0.0-20250316201104-ca0474576fbc
14+
github.com/etkecc/go-kit v1.7.0
15+
github.com/etkecc/go-linkpearl v0.0.0-20250617213914-419fd498ee39
1616
github.com/etkecc/go-mxidwc v1.0.1
1717
github.com/etkecc/go-redmine v0.0.0-20241212083151-0940e5cd0812
1818
github.com/hashicorp/golang-lru/v2 v2.0.7
19-
github.com/labstack/echo/v4 v4.13.3
19+
github.com/labstack/echo/v4 v4.13.4
2020
github.com/lib/pq v1.10.9
2121
github.com/mileusna/crontab v1.2.0
2222
github.com/nixys/nxs-go-redmine/v5 v5.1.1
2323
github.com/rs/zerolog v1.34.0
2424
github.com/stretchr/testify v1.10.0
2525
github.com/swaggo/swag v1.16.3
26-
github.com/ziflex/lecho/v3 v3.7.0
27-
golang.org/x/exp v0.0.0-20250408133849-7e4ce0ab07d0
28-
maunium.net/go/mautrix v0.23.2
29-
modernc.org/sqlite v1.37.0
26+
github.com/ziflex/lecho/v3 v3.8.0
27+
golang.org/x/exp v0.0.0-20250620022241-b7579e27df2b
28+
maunium.net/go/mautrix v0.24.1
29+
modernc.org/sqlite v1.38.0
3030
)
3131

3232
require (
@@ -36,7 +36,7 @@ require (
3636
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
3737
github.com/buger/jsonparser v1.1.1 // indirect
3838
github.com/davecgh/go-spew v1.1.1 // indirect
39-
github.com/getsentry/sentry-go v0.32.0 // indirect
39+
github.com/getsentry/sentry-go v0.34.0 // indirect
4040
github.com/go-openapi/jsonpointer v0.19.5 // indirect
4141
github.com/go-openapi/jsonreference v0.19.6 // indirect
4242
github.com/go-openapi/spec v0.20.4 // indirect
@@ -47,10 +47,10 @@ require (
4747
github.com/mailru/easyjson v0.7.7 // indirect
4848
github.com/mattn/go-colorable v0.1.14 // indirect
4949
github.com/mattn/go-isatty v0.0.20 // indirect
50-
github.com/mattn/go-sqlite3 v1.14.27 // indirect
50+
github.com/mattn/go-sqlite3 v1.14.28 // indirect
5151
github.com/mitchellh/mapstructure v1.5.0 // indirect
5252
github.com/ncruces/go-strftime v0.1.9 // indirect
53-
github.com/petermattis/goid v0.0.0-20250319124200-ccd6737f222a // indirect
53+
github.com/petermattis/goid v0.0.0-20250508124226-395b08cebbdb // indirect
5454
github.com/pmezard/go-difflib v1.0.0 // indirect
5555
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
5656
github.com/tidwall/gjson v1.18.0 // indirect
@@ -61,17 +61,17 @@ require (
6161
github.com/valyala/fastrand v1.1.0 // indirect
6262
github.com/valyala/fasttemplate v1.2.2 // indirect
6363
github.com/valyala/histogram v1.2.0 // indirect
64-
github.com/yuin/goldmark v1.7.9 // indirect
65-
go.mau.fi/util v0.8.6 // indirect
66-
golang.org/x/crypto v0.37.0 // indirect
67-
golang.org/x/net v0.39.0 // indirect
68-
golang.org/x/sys v0.32.0 // indirect
69-
golang.org/x/text v0.24.0 // indirect
70-
golang.org/x/time v0.11.0 // indirect
71-
golang.org/x/tools v0.32.0 // indirect
64+
github.com/yuin/goldmark v1.7.12 // indirect
65+
go.mau.fi/util v0.8.8 // indirect
66+
golang.org/x/crypto v0.39.0 // indirect
67+
golang.org/x/net v0.41.0 // indirect
68+
golang.org/x/sys v0.33.0 // indirect
69+
golang.org/x/text v0.26.0 // indirect
70+
golang.org/x/time v0.12.0 // indirect
71+
golang.org/x/tools v0.34.0 // indirect
7272
gopkg.in/yaml.v2 v2.4.0 // indirect
7373
gopkg.in/yaml.v3 v3.0.1 // indirect
74-
modernc.org/libc v1.62.1 // indirect
74+
modernc.org/libc v1.66.0 // indirect
7575
modernc.org/mathutil v1.7.1 // indirect
76-
modernc.org/memory v1.9.1 // indirect
76+
modernc.org/memory v1.11.0 // indirect
7777
)

0 commit comments

Comments
 (0)