From c6251711f1ee1c9f0a7168098836c6c594929168 Mon Sep 17 00:00:00 2001 From: mircearoata Date: Wed, 28 Feb 2024 12:57:17 +0100 Subject: [PATCH] Update to go 1.22 --- .github/workflows/push.yml | 2 +- .github/workflows/release.yml | 2 +- README.md | 2 +- go.mod | 8 +++----- go.sum | 8 ++++---- 5 files changed, 10 insertions(+), 12 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index a6207e8b..53014990 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -4,7 +4,7 @@ on: push: env: - GO_VERSION: "1.21" + GO_VERSION: "1.22" NODE_VERSION: "18" PNPM_VERSION: "8.6.1" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d55db6e4..4ad8bb4c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,7 +6,7 @@ on: - v* env: - GO_VERSION: "1.21" + GO_VERSION: "1.22" NODE_VERSION: "18" PNPM_VERSION: "8.6.1" diff --git a/README.md b/README.md index 75b4b5b0..2e38ae20 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ for common issues and their solutions. ### Dependencies -* [Go 1.21](https://go.dev/doc/install) +* [Go 1.22](https://go.dev/doc/install) * [pnpm](https://pnpm.io/installation) * [nodejs](https://nodejs.org/en/download/) * Wails (`go install github.com/wailsapp/wails/v2/cmd/wails@latest`) diff --git a/go.mod b/go.mod index afafbc8c..b158d316 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,6 @@ module github.com/satisfactorymodding/SatisfactoryModManager -go 1.21 - -toolchain go1.21.5 +go 1.22 require ( github.com/Masterminds/semver/v3 v3.2.1 @@ -20,7 +18,7 @@ require ( github.com/satisfactorymodding/ficsit-resolver v0.0.2 github.com/spf13/viper v1.18.1 github.com/tawesoft/golib/v2 v2.10.0 - github.com/wailsapp/wails/v2 v2.7.1 + github.com/wailsapp/wails/v2 v2.8.0 github.com/zishang520/engine.io v1.5.12 github.com/zishang520/socket.io v1.3.2 golang.org/x/sys v0.16.0 @@ -88,7 +86,7 @@ require ( go.uber.org/multierr v1.11.0 // indirect golang.org/x/crypto v0.18.0 // indirect golang.org/x/exp v0.0.0-20231214170342-aacd6d4b4611 // indirect - golang.org/x/net v0.19.0 // indirect + golang.org/x/net v0.20.0 // indirect golang.org/x/sync v0.5.0 // indirect golang.org/x/text v0.14.0 // indirect gopkg.in/ini.v1 v1.67.0 // indirect diff --git a/go.sum b/go.sum index abb0fbf3..c6e35bc6 100644 --- a/go.sum +++ b/go.sum @@ -189,8 +189,8 @@ github.com/wailsapp/go-webview2 v1.0.10 h1:PP5Hug6pnQEAhfRzLCoOh2jJaPdrqeRgJKZhy github.com/wailsapp/go-webview2 v1.0.10/go.mod h1:Uk2BePfCRzttBBjFrBmqKGJd41P6QIHeV9kTgIeOZNo= github.com/wailsapp/mimetype v1.4.1 h1:pQN9ycO7uo4vsUUuPeHEYoUkLVkaRntMnHJxVwYhwHs= github.com/wailsapp/mimetype v1.4.1/go.mod h1:9aV5k31bBOv5z6u+QP8TltzvNGJPmNJD4XlAL3U+j3o= -github.com/wailsapp/wails/v2 v2.7.1 h1:HAzp2c5ODOzsLC6ZMDVtNOB72ozM7/SJecJPB2Ur+UU= -github.com/wailsapp/wails/v2 v2.7.1/go.mod h1:oIJVwwso5fdOgprBYWXBBqtx6PaSvxg8/KTQHNGkadc= +github.com/wailsapp/wails/v2 v2.8.0 h1:b2NNn99uGPiN6P5bDsnPwOJZWtAOUhNLv7Vl+YxMTr4= +github.com/wailsapp/wails/v2 v2.8.0/go.mod h1:EFUGWkUX3KofO4fmKR/GmsLy3HhPH7NbyOEaMt8lBF0= github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e h1:JVG44RsyaB9T2KIHavMF/ppJZNG9ZpyihvCd0w101no= github.com/xo/terminfo v0.0.0-20220910002029-abceb7e1c41e/go.mod h1:RbqR21r5mrJuqunuUZ/Dhy/avygyECGrLceyNeo4LiM= github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY= @@ -223,8 +223,8 @@ golang.org/x/net v0.0.0-20210505024714-0287a6fb4125/go.mod h1:9nx3DQGgdP8bBQD5qx golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= golang.org/x/net v0.1.0/go.mod h1:Cx3nUiGt4eDBEyega/BKRp+/AlGL8hYe7U9odMt2Cco= -golang.org/x/net v0.19.0 h1:zTwKpTd2XuCqf8huc7Fo2iSy+4RHPd10s4KzeTnVr1c= -golang.org/x/net v0.19.0/go.mod h1:CfAk/cbD4CthTvqiEl8NpboMuiuOYsAr/7NOjZJtv1U= +golang.org/x/net v0.20.0 h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo= +golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.5.0 h1:60k92dhOjHxJkrqnwsfl8KuaHbn/5dl0lUPUklKo3qE=