Skip to content

Commit 9da4baf

Browse files
committed
perf: update go and deps
1 parent 136114a commit 9da4baf

3 files changed

Lines changed: 61 additions & 484 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
upload_url: ${{ steps.create_release.outputs.upload_url }}
2020
steps:
2121
- name: Checkout code
22-
uses: actions/checkout@v2
22+
uses: actions/checkout@v4
2323
- name: Get version
2424
id: get_version
2525
run: |
@@ -37,9 +37,9 @@ jobs:
3737
release_name: ${{ github.ref }}
3838
draft: true
3939
prerelease: false
40-
- uses: actions/setup-go@v2
40+
- uses: actions/setup-go@v5
4141
with:
42-
go-version: '1.21.x' # The Go version to download (if necessary) and use.
42+
go-version: 'stable' # The Go version to download (if necessary) and use.
4343
- name: Make Build
4444
id: make_build
4545
env:

go.mod

Lines changed: 16 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/jumpserver/wisp
22

3-
go 1.21
3+
go 1.24.6
44

55
require (
66
github.com/Azure/azure-storage-blob-go v0.14.0
@@ -14,9 +14,9 @@ require (
1414
github.com/huaweicloud/huaweicloud-sdk-go-obs v3.21.12+incompatible
1515
github.com/shirou/gopsutil/v3 v3.22.10
1616
github.com/sirupsen/logrus v1.8.1
17-
github.com/spf13/cobra v1.6.1
18-
github.com/spf13/viper v1.14.0
19-
golang.org/x/crypto v0.24.0
17+
github.com/spf13/cobra v1.10.1
18+
github.com/spf13/viper v1.21.0
19+
golang.org/x/crypto v0.43.0
2020
google.golang.org/grpc v1.65.0
2121
google.golang.org/protobuf v1.34.2
2222
gopkg.in/natefinch/lumberjack.v2 v2.2.1
@@ -25,38 +25,34 @@ require (
2525
require (
2626
github.com/Azure/azure-pipeline-go v0.2.3 // indirect
2727
github.com/elastic/elastic-transport-go/v8 v8.6.0 // indirect
28-
github.com/fsnotify/fsnotify v1.6.0 // indirect
28+
github.com/fsnotify/fsnotify v1.9.0 // indirect
2929
github.com/go-logr/logr v1.4.1 // indirect
3030
github.com/go-logr/stdr v1.2.2 // indirect
3131
github.com/go-ole/go-ole v1.2.6 // indirect
32+
github.com/go-viper/mapstructure/v2 v2.4.0 // indirect
3233
github.com/google/uuid v1.6.0 // indirect
33-
github.com/hashicorp/hcl v1.0.0 // indirect
3434
github.com/inconshreveable/mousetrap v1.1.0 // indirect
3535
github.com/jmespath/go-jmespath v0.4.0 // indirect
3636
github.com/lufia/plan9stats v0.0.0-20211012122336-39d0f177ccd0 // indirect
37-
github.com/magiconair/properties v1.8.6 // indirect
3837
github.com/mattn/go-ieproxy v0.0.1 // indirect
39-
github.com/mitchellh/mapstructure v1.5.0 // indirect
40-
github.com/pelletier/go-toml v1.9.5 // indirect
41-
github.com/pelletier/go-toml/v2 v2.0.6 // indirect
38+
github.com/pelletier/go-toml/v2 v2.2.4 // indirect
4239
github.com/power-devops/perfstat v0.0.0-20210106213030-5aafc221ea8c // indirect
43-
github.com/spf13/afero v1.9.3 // indirect
44-
github.com/spf13/cast v1.5.0 // indirect
45-
github.com/spf13/jwalterweatherman v1.1.0 // indirect
46-
github.com/spf13/pflag v1.0.5 // indirect
47-
github.com/subosito/gotenv v1.4.1 // indirect
40+
github.com/sagikazarmark/locafero v0.12.0 // indirect
41+
github.com/spf13/afero v1.15.0 // indirect
42+
github.com/spf13/cast v1.10.0 // indirect
43+
github.com/spf13/pflag v1.0.10 // indirect
44+
github.com/subosito/gotenv v1.6.0 // indirect
4845
github.com/tklauser/go-sysconf v0.3.10 // indirect
4946
github.com/tklauser/numcpus v0.4.0 // indirect
5047
github.com/yusufpapurcu/wmi v1.2.2 // indirect
5148
go.opentelemetry.io/otel v1.24.0 // indirect
5249
go.opentelemetry.io/otel/metric v1.24.0 // indirect
5350
go.opentelemetry.io/otel/trace v1.24.0 // indirect
54-
golang.org/x/net v0.25.0 // indirect
55-
golang.org/x/sys v0.21.0 // indirect
56-
golang.org/x/text v0.16.0 // indirect
51+
go.yaml.in/yaml/v3 v3.0.4 // indirect
52+
golang.org/x/net v0.45.0 // indirect
53+
golang.org/x/sys v0.37.0 // indirect
54+
golang.org/x/text v0.30.0 // indirect
5755
golang.org/x/time v0.0.0-20220609170525-579cf78fd858 // indirect
5856
google.golang.org/genproto v0.0.0-20221024183307-1bc688fe9f3e // indirect
59-
gopkg.in/ini.v1 v1.67.0 // indirect
6057
gopkg.in/yaml.v2 v2.4.0 // indirect
61-
gopkg.in/yaml.v3 v3.0.1 // indirect
6258
)

0 commit comments

Comments
 (0)