Skip to content

Commit 0c80729

Browse files
authored
bump go version to 1.23, update dependencies (#124)
1 parent 532ee3d commit 0c80729

File tree

4 files changed

+94
-22
lines changed

4 files changed

+94
-22
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
name: Test
1313
strategy:
1414
matrix:
15-
go: [ '1.19' ]
15+
go: [ '1.23' ]
1616
uses: ./.github/workflows/go-test.yml
1717
with:
1818
go-version: ${{ matrix.go }}

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
name: Test
1212
strategy:
1313
matrix:
14-
go: [ '1.19' ]
14+
go: [ '1.23' ]
1515
uses: ./.github/workflows/go-test.yml
1616
with:
1717
go-version: ${{ matrix.go }}
@@ -21,7 +21,7 @@ jobs:
2121
needs: test
2222
strategy:
2323
matrix:
24-
go: [ '1.19' ]
24+
go: [ '1.23' ]
2525
arch: [ 'amd64', 'arm64' ]
2626
uses: ./.github/workflows/go-build.yml
2727
with:

go.mod

Lines changed: 25 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,44 @@
11
module github.com/hertg/egpu-switcher
22

3-
go 1.18
3+
go 1.23
44

55
require (
6-
github.com/coreos/go-systemd/v22 v22.3.2
7-
github.com/fatih/color v1.13.0
6+
github.com/coreos/go-systemd/v22 v22.5.0
7+
github.com/fatih/color v1.18.0
88
github.com/hertg/gopci v0.1.0
9-
github.com/spf13/cobra v1.5.0
10-
github.com/spf13/viper v1.12.0
9+
github.com/spf13/cobra v1.8.1
10+
github.com/spf13/viper v1.19.0
1111
)
1212

13-
require github.com/godbus/dbus/v5 v5.0.4 // indirect
13+
require github.com/godbus/dbus/v5 v5.1.0 // indirect
1414

1515
require (
16-
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
17-
github.com/fsnotify/fsnotify v1.5.4 // indirect
16+
github.com/cpuguy83/go-md2man/v2 v2.0.6 // indirect
17+
github.com/fsnotify/fsnotify v1.8.0 // indirect
1818
github.com/hashicorp/hcl v1.0.0 // indirect
1919
github.com/hertg/go-pciids v0.0.1 // indirect
20-
github.com/inconshreveable/mousetrap v1.0.0 // indirect
21-
github.com/magiconair/properties v1.8.6 // indirect
22-
github.com/mattn/go-colorable v0.1.12 // indirect
23-
github.com/mattn/go-isatty v0.0.14 // indirect
20+
github.com/inconshreveable/mousetrap v1.1.0 // indirect
21+
github.com/magiconair/properties v1.8.9 // indirect
22+
github.com/mattn/go-colorable v0.1.14 // indirect
23+
github.com/mattn/go-isatty v0.0.20 // indirect
2424
github.com/mitchellh/mapstructure v1.5.0 // indirect
2525
github.com/pelletier/go-toml v1.9.5 // indirect
26-
github.com/pelletier/go-toml/v2 v2.0.1 // indirect
26+
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
2727
github.com/russross/blackfriday/v2 v2.1.0 // indirect
28-
github.com/spf13/afero v1.8.2 // indirect
29-
github.com/spf13/cast v1.5.0 // indirect
28+
github.com/sagikazarmark/locafero v0.7.0 // indirect
29+
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
30+
github.com/sourcegraph/conc v0.3.0 // indirect
31+
github.com/spf13/afero v1.12.0 // indirect
32+
github.com/spf13/cast v1.7.1 // indirect
3033
github.com/spf13/jwalterweatherman v1.1.0 // indirect
3134
github.com/spf13/pflag v1.0.5 // indirect
32-
github.com/subosito/gotenv v1.3.0 // indirect
33-
golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f // indirect
34-
golang.org/x/text v0.3.8 // indirect
35-
gopkg.in/ini.v1 v1.66.4 // indirect
35+
github.com/subosito/gotenv v1.6.0 // indirect
36+
go.uber.org/atomic v1.11.0 // indirect
37+
go.uber.org/multierr v1.11.0 // indirect
38+
golang.org/x/exp v0.0.0-20250106191152-7588d65b2ba8 // indirect
39+
golang.org/x/sys v0.29.0 // indirect
40+
golang.org/x/text v0.21.0 // indirect
41+
gopkg.in/ini.v1 v1.67.0 // indirect
3642
gopkg.in/yaml.v2 v2.4.0 // indirect
3743
gopkg.in/yaml.v3 v3.0.1 // indirect
3844
)

0 commit comments

Comments
 (0)