Skip to content

Commit 12dc0b3

Browse files
committed
Bump go version to 1.26.4; optimize binary size;
1 parent f131117 commit 12dc0b3

4 files changed

Lines changed: 12 additions & 13 deletions

File tree

.github/workflows/make-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Set up Go
2020
uses: actions/setup-go@v6
2121
with:
22-
go-version: "1.26.3"
22+
go-version: "1.26.4"
2323

2424
- name: Login to DockerHub
2525
uses: docker/login-action@v4

.goreleaser.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ builds:
2929
ldflags:
3030
- -X main.Version={{ .Version }}
3131
flags:
32-
- -trimpath
32+
- -trimpath -ldflags "-w -s"
3333

3434
checksum:
3535
name_template: "checksums.txt"

go.mod

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

3-
go 1.26.3
3+
go 1.26.4
44

55
require (
66
github.com/alecthomas/kingpin/v2 v2.4.0
7-
github.com/f100024/sshtun v1.2.4-f
7+
github.com/f100024/sshtun v1.2.5-f
88
github.com/prometheus/client_golang v1.23.2
99
github.com/rs/zerolog v1.35.1
1010
golang.org/x/term v0.43.0
@@ -16,14 +16,13 @@ require (
1616
github.com/beorn7/perks v1.0.1 // indirect
1717
github.com/cespare/xxhash/v2 v2.3.0 // indirect
1818
github.com/kr/text v0.2.0 // indirect
19-
github.com/mattn/go-colorable v0.1.14 // indirect
19+
github.com/mattn/go-colorable v0.1.15 // indirect
2020
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
23-
github.com/prometheus/common v0.67.5 // indirect
23+
github.com/prometheus/common v0.68.1 // indirect
2424
github.com/prometheus/procfs v0.20.1 // indirect
2525
github.com/xhit/go-str2duration/v2 v2.1.0 // indirect
26-
go.yaml.in/yaml/v2 v2.4.4 // indirect
2726
golang.org/x/crypto v0.52.0 // indirect
2827
golang.org/x/sync v0.20.0 // indirect
2928
golang.org/x/sys v0.45.0 // indirect

go.sum

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ3
1414
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
1515
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
1616
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
17-
github.com/f100024/sshtun v1.2.4-f h1:Ua2LlLopmPZqTEkHtqtwgUANYh3Zxgd7EUxaA9UxF9w=
18-
github.com/f100024/sshtun v1.2.4-f/go.mod h1:tdpR96qhLQax4NhrfJNQYv+/ajAz41NEFs6HluxrCiw=
17+
github.com/f100024/sshtun v1.2.5-f h1:sGsbMW31R3NeKF+o2s0LgdiNH7VYfmwREFn3ZlwyRRs=
18+
github.com/f100024/sshtun v1.2.5-f/go.mod h1:6vOCLZcEmJ9BnTZ+50ln179iKZpFWGBXXpR6PPwrD9A=
1919
github.com/gliderlabs/ssh v0.3.8 h1:a4YXD1V7xMF9g5nTkdfnja3Sxy1PVDCj1Zg4Wb8vY6c=
2020
github.com/gliderlabs/ssh v0.3.8/go.mod h1:xYoytBv1sV0aL3CavoDuJIQNURXkkfPA/wxQ1pL1fAU=
2121
github.com/google/go-cmp v0.7.0 h1:wk8382ETsv4JYUZwIsn6YpYiWiBsYLSJiTsyBybVuN8=
@@ -28,8 +28,8 @@ github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
2828
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
2929
github.com/kylelemons/godebug v1.1.0 h1:RPNrshWIDI6G2gRW9EHilWtl7Z6Sb1BR0xunSBf0SNc=
3030
github.com/kylelemons/godebug v1.1.0/go.mod h1:9/0rRGxNHcop5bhtWyNeEfOS8JIWk580+fNqagV/RAw=
31-
github.com/mattn/go-colorable v0.1.14 h1:9A9LHSqF/7dyVVX6g0U9cwm9pG3kP9gSzcuIPHPsaIE=
32-
github.com/mattn/go-colorable v0.1.14/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8=
31+
github.com/mattn/go-colorable v0.1.15 h1:+u9SLTRGnXv73cEsnsmoZBom+dMU88B2M0aDcWy0/jY=
32+
github.com/mattn/go-colorable v0.1.15/go.mod h1:6LmQG8QLFO4G5z1gPvYEzlUgJ2wF+stgPZH1UqBm1s8=
3333
github.com/mattn/go-isatty v0.0.22 h1:j8l17JJ9i6VGPUFUYoTUKPSgKe/83EYU2zBC7YNKMw4=
3434
github.com/mattn/go-isatty v0.0.22/go.mod h1:ZXfXG4SQHsB/w3ZeOYbR0PrPwLy+n6xiMrJlRFqopa4=
3535
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 h1:C3w9PqII01/Oq1c1nUAm88MOHcQC9l5mIlSMApZMrHA=
@@ -42,8 +42,8 @@ github.com/prometheus/client_golang v1.23.2 h1:Je96obch5RDVy3FDMndoUsjAhG5Edi49h
4242
github.com/prometheus/client_golang v1.23.2/go.mod h1:Tb1a6LWHB3/SPIzCoaDXI4I8UHKeFTEQ1YCr+0Gyqmg=
4343
github.com/prometheus/client_model v0.6.2 h1:oBsgwpGs7iVziMvrGhE53c/GrLUsZdHnqNwqPLxwZyk=
4444
github.com/prometheus/client_model v0.6.2/go.mod h1:y3m2F6Gdpfy6Ut/GBsUqTWZqCUvMVzSfMLjcu6wAwpE=
45-
github.com/prometheus/common v0.67.5 h1:pIgK94WWlQt1WLwAC5j2ynLaBRDiinoAb86HZHTUGI4=
46-
github.com/prometheus/common v0.67.5/go.mod h1:SjE/0MzDEEAyrdr5Gqc6G+sXI67maCxzaT3A2+HqjUw=
45+
github.com/prometheus/common v0.68.1 h1:omjRRl4QP4komogpXuhfeOiisQg7xdy8VM1UY+pStaY=
46+
github.com/prometheus/common v0.68.1/go.mod h1:ZzL3f6u94qUxh9p+tJTrF+FvBS1XXbbRAZCQkytAL0Y=
4747
github.com/prometheus/procfs v0.20.1 h1:XwbrGOIplXW/AU3YhIhLODXMJYyC1isLFfYCsTEycfc=
4848
github.com/prometheus/procfs v0.20.1/go.mod h1:o9EMBZGRyvDrSPH1RqdxhojkuXstoe4UlK79eF5TGGo=
4949
github.com/rogpeppe/go-internal v1.10.0 h1:TMyTOH3F/DB16zRVcYyreMH6GnZZrwQVAoYjRBZyWFQ=

0 commit comments

Comments
 (0)