Skip to content

Commit 4c7f914

Browse files
committed
Bump go to version 1.26.3; Update deps; Update README;
1 parent 1c437dd commit 4c7f914

4 files changed

Lines changed: 20 additions & 12 deletions

File tree

.github/workflows/make-release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ jobs:
1919
- name: Set up Go
2020
uses: actions/setup-go@v6
2121
with:
22-
go-version: "1.26.2"
22+
go-version: "1.26.3"
2323

2424
- name: Login to DockerHub
25-
uses: docker/login-action@v3
25+
uses: docker/login-action@v4
2626
with:
2727
username: ${{ secrets.DOCKER_USERNAME }}
2828
password: ${{ secrets.DOCKER_PASSWORD }}
2929

3030
- name: Run GoReleaser
31-
uses: goreleaser/goreleaser-action@v6
31+
uses: goreleaser/goreleaser-action@v7
3232
with:
3333
distribution: goreleaser
3434
version: latest

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,15 @@ version: '2'
9999
services:
100100
sshgut:
101101
image: f100024/sshgut:latest
102+
command: '--metrics-addr=:9090'
102103
ports:
103104
- 127.0.0.1:8080:8080
105+
- 127.0.0.1:9090:9090
104106
volumes:
105107
- ./config.yaml:/app/config.yaml
106-
- ./ssh-key:/app/ssh-key
108+
- ./ssh-key:/app/ssh-key
109+
cap_drop:
110+
- ALL
111+
security_opt:
112+
- no-new-privileges:true
107113
```

go.mod

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
module sshgut
22

3-
go 1.26.2
3+
go 1.26.3
44

55
require (
66
github.com/alecthomas/kingpin/v2 v2.4.0
77
github.com/prometheus/client_golang v1.23.2
88
github.com/rgzr/sshtun v1.2.3
9-
github.com/rs/zerolog v1.35.0
9+
github.com/rs/zerolog v1.35.1
1010
golang.org/x/term v0.42.0
1111
gopkg.in/yaml.v3 v3.0.1
1212
)
@@ -17,7 +17,7 @@ require (
1717
github.com/cespare/xxhash/v2 v2.3.0 // indirect
1818
github.com/kr/text v0.2.0 // indirect
1919
github.com/mattn/go-colorable v0.1.14 // indirect
20-
github.com/mattn/go-isatty v0.0.21 // indirect
20+
github.com/mattn/go-isatty v0.0.22 // indirect
2121
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
2222
github.com/prometheus/client_model v0.6.2 // indirect
2323
github.com/prometheus/common v0.67.5 // indirect
@@ -26,6 +26,6 @@ require (
2626
go.yaml.in/yaml/v2 v2.4.4 // indirect
2727
golang.org/x/crypto v0.50.0 // indirect
2828
golang.org/x/sync v0.20.0 // indirect
29-
golang.org/x/sys v0.43.0 // indirect
29+
golang.org/x/sys v0.44.0 // indirect
3030
google.golang.org/protobuf v1.36.11 // indirect
3131
)

go.sum

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,8 @@ github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0
2828
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
2929
github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE=
3030
github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8=
31-
github.com/mattn/go-isatty v0.0.21 h1:xYae+lCNBP7QuW4PUnNG61ffM4hVIfm+zUzDuSzYLGs=
32-
github.com/mattn/go-isatty v0.0.21/go.mod h1:ZXfXG4SQHsB/w3ZeOYbR0PrPwLy+n6xiMrJlRFqopa4=
31+
github.com/mattn/go-isatty v0.0.22 h1:j8l17JJ9i6VGPUFUYoTUKPSgKe/83EYU2zBC7YNKMw4=
32+
github.com/mattn/go-isatty v0.0.22/go.mod h1:ZXfXG4SQHsB/w3ZeOYbR0PrPwLy+n6xiMrJlRFqopa4=
3333
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=
3434
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod h1:+n7T8mK8HuQTcFwEeznm/DIxMOiR9yIdICNftLE1DvQ=
3535
github.com/phayes/freeport v0.0.0-20220201140144-74d24b5ae9f5 h1:Ii+DKncOVM8Cu1Hc+ETb5K+23HdAMvESYE3ZJ5b5cMI=
@@ -48,8 +48,8 @@ github.com/rgzr/sshtun v1.2.3 h1:Zo+HEOf/eOFKJPPDnUZ8RKP17gL5utK+2J3a5Ox4ksM=
4848
github.com/rgzr/sshtun v1.2.3/go.mod h1:QaG3vRlU11f5Wot0VX/3cyRDvhtsBEiPZcLALJwI+bQ=
4949
github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ=
5050
github.com/rogpeppe/go-internal v1.10.0/go.mod h1:UQnix2H7Ngw/k4C5ijL5+65zddjncjaFoBhdsK/akog=
51-
github.com/rs/zerolog v1.35.0 h1:VD0ykx7HMiMJytqINBsKcbLS+BJ4WYjz+05us+LRTdI=
52-
github.com/rs/zerolog v1.35.0/go.mod h1:EjML9kdfa/RMA7h/6z6pYmq1ykOuA8/mjWaEvGI+jcw=
51+
github.com/rs/zerolog v1.35.1 h1:m7xQeoiLIiV0BCEY4Hs+j2NG4Gp2o2KPKmhnnLiazKI=
52+
github.com/rs/zerolog v1.35.1/go.mod h1:EjML9kdfa/RMA7h/6z6pYmq1ykOuA8/mjWaEvGI+jcw=
5353
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
5454
github.com/stretchr/objx v0.4.0/go.mod h1:YvHI0jy2hoMjB+UWwv71VJQ9isScKT/TqJzVSSt89Yw=
5555
github.com/stretchr/objx v0.5.0/go.mod h1:Yh+to48EsGEfYuaHDzXPcE3xhTkx73EhmCGUpEOglKo=
@@ -72,6 +72,8 @@ golang.org/x/sync v0.20.0 h1:e0PTpb7pjO8GAtTs2dQ6jYa5BWYlMuX047Dco/pItO4=
7272
golang.org/x/sync v0.20.0/go.mod h1:9xrNwdLfx4jkKbNva9FpL6vEN7evnE43NNNJQ2LF3+0=
7373
golang.org/x/sys v0.43.0 h1:Rlag2XtaFTxp19wS8MXlJwTvoh8ArU6ezoyFsMyCTNI=
7474
golang.org/x/sys v0.43.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
75+
golang.org/x/sys v0.44.0 h1:ildZl3J4uzeKP07r2F++Op7E9B29JRUy+a27EibtBTQ=
76+
golang.org/x/sys v0.44.0/go.mod h1:4GL1E5IUh+htKOUEOaiffhrAeqysfVGipDYzABqnCmw=
7577
golang.org/x/term v0.42.0 h1:UiKe+zDFmJobeJ5ggPwOshJIVt6/Ft0rcfrXZDLWAWY=
7678
golang.org/x/term v0.42.0/go.mod h1:Dq/D+snpsbazcBG5+F9Q1n2rXV8Ma+71xEjTRufARgY=
7779
google.golang.org/protobuf v1.36.11 h1:fV6ZwhNocDyBLK0dj+fg8ektcVegBBuEolpbTQyBNVE=

0 commit comments

Comments
 (0)