Skip to content

Commit 0c46c6b

Browse files
committed
update go & dependencies
1 parent 08affb5 commit 0c46c6b

File tree

5 files changed

+131
-145
lines changed

5 files changed

+131
-145
lines changed

.github/workflows/binary.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
- name: Set up Go
2727
uses: actions/setup-go@v3
2828
with:
29-
go-version: 1.20.x
29+
go-version: 1.22.x
3030
cache: true
3131

3232
- name: File Extension Windows

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM --platform=$BUILDPLATFORM golang:1.20-alpine AS build
1+
FROM --platform=$BUILDPLATFORM golang:1.22-alpine AS build
22

33
WORKDIR /build
44

go.mod

+33-39
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,59 @@
11
module github.com/topi314/reddit-discord-bot/v2
22

3-
go 1.18
3+
go 1.22
44

55
require (
6-
github.com/disgoorg/disgo v0.16.7
6+
github.com/disgoorg/disgo v0.18.8
77
github.com/disgoorg/json v1.1.0
88
github.com/disgoorg/log v1.2.1
99
github.com/disgoorg/snowflake/v2 v2.0.1
10-
github.com/jackc/pgx/v5 v5.4.2
11-
github.com/jmoiron/sqlx v1.3.5
10+
github.com/jackc/pgx/v5 v5.6.0
11+
github.com/jmoiron/sqlx v1.4.0
1212
github.com/knadh/koanf/parsers/yaml v0.1.0
1313
github.com/knadh/koanf/providers/env v0.1.0
1414
github.com/knadh/koanf/providers/file v0.1.0
15-
github.com/knadh/koanf/v2 v2.0.1
16-
github.com/prometheus/client_golang v1.16.0
17-
golang.org/x/oauth2 v0.10.0
18-
modernc.org/sqlite v1.24.0
15+
github.com/knadh/koanf/v2 v2.1.1
16+
github.com/prometheus/client_golang v1.19.1
17+
golang.org/x/oauth2 v0.21.0
18+
modernc.org/sqlite v1.30.1
1919
)
2020

2121
require (
2222
github.com/beorn7/perks v1.0.1 // indirect
23-
github.com/cespare/xxhash/v2 v2.2.0 // indirect
23+
github.com/cespare/xxhash/v2 v2.3.0 // indirect
2424
github.com/dustin/go-humanize v1.0.1 // indirect
25-
github.com/fsnotify/fsnotify v1.6.0 // indirect
26-
github.com/golang/protobuf v1.5.3 // indirect
27-
github.com/google/uuid v1.3.0 // indirect
28-
github.com/gorilla/websocket v1.5.0 // indirect
25+
github.com/fsnotify/fsnotify v1.7.0 // indirect
26+
github.com/go-viper/mapstructure/v2 v2.0.0 // indirect
27+
github.com/google/uuid v1.6.0 // indirect
28+
github.com/gorilla/websocket v1.5.3 // indirect
29+
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
2930
github.com/jackc/pgpassfile v1.0.0 // indirect
30-
github.com/jackc/pgservicefile v0.0.0-20221227161230-091c0ba34f0a // indirect
31-
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
31+
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
32+
github.com/jackc/puddle/v2 v2.2.1 // indirect
3233
github.com/knadh/koanf/maps v0.1.1 // indirect
3334
github.com/kr/text v0.2.0 // indirect
34-
github.com/mattn/go-isatty v0.0.19 // indirect
35-
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
35+
github.com/mattn/go-isatty v0.0.20 // indirect
3636
github.com/mitchellh/copystructure v1.2.0 // indirect
37-
github.com/mitchellh/mapstructure v1.5.0 // indirect
3837
github.com/mitchellh/reflectwalk v1.0.2 // indirect
39-
github.com/prometheus/client_model v0.4.0 // indirect
40-
github.com/prometheus/common v0.44.0 // indirect
41-
github.com/prometheus/procfs v0.11.0 // indirect
38+
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
39+
github.com/ncruces/go-strftime v0.1.9 // indirect
40+
github.com/prometheus/client_model v0.6.1 // indirect
41+
github.com/prometheus/common v0.55.0 // indirect
42+
github.com/prometheus/procfs v0.15.1 // indirect
4243
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
4344
github.com/rogpeppe/go-internal v1.11.0 // indirect
44-
github.com/sasha-s/go-csync v0.0.0-20210812194225-61421b77c44b // indirect
45-
github.com/stretchr/testify v1.8.3 // indirect
46-
golang.org/x/crypto v0.11.0 // indirect
47-
golang.org/x/exp v0.0.0-20230713183714-613f0c0eb8a1 // indirect
48-
golang.org/x/mod v0.12.0 // indirect
49-
golang.org/x/net v0.12.0 // indirect
50-
golang.org/x/sys v0.10.0 // indirect
51-
golang.org/x/text v0.11.0 // indirect
52-
golang.org/x/tools v0.11.0 // indirect
53-
google.golang.org/appengine v1.6.7 // indirect
54-
google.golang.org/protobuf v1.31.0 // indirect
45+
github.com/sasha-s/go-csync v0.0.0-20240107134140-fcbab37b09ad // indirect
46+
golang.org/x/crypto v0.24.0 // indirect
47+
golang.org/x/sync v0.7.0 // indirect
48+
golang.org/x/sys v0.21.0 // indirect
49+
golang.org/x/text v0.16.0 // indirect
50+
golang.org/x/tools v0.22.0 // indirect
51+
google.golang.org/protobuf v1.34.2 // indirect
5552
gopkg.in/yaml.v3 v3.0.1 // indirect
56-
lukechampine.com/uint128 v1.3.0 // indirect
57-
modernc.org/cc/v3 v3.41.0 // indirect
58-
modernc.org/ccgo/v3 v3.16.14 // indirect
59-
modernc.org/libc v1.24.1 // indirect
53+
modernc.org/gc/v3 v3.0.0-20240304020402-f0dba7c97c2b // indirect
54+
modernc.org/libc v1.53.4 // indirect
6055
modernc.org/mathutil v1.6.0 // indirect
61-
modernc.org/memory v1.6.0 // indirect
62-
modernc.org/opt v0.1.3 // indirect
63-
modernc.org/strutil v1.1.3 // indirect
56+
modernc.org/memory v1.8.0 // indirect
57+
modernc.org/strutil v1.2.0 // indirect
6458
modernc.org/token v1.1.0 // indirect
6559
)

0 commit comments

Comments
 (0)