From 96a0eddbaf37706a7ed64ffdf93cfc675e144730 Mon Sep 17 00:00:00 2001 From: leukipp Date: Sat, 2 Nov 2024 19:33:58 +0100 Subject: [PATCH] build: update go version --- .github/workflows/release.yaml | 2 +- README.md | 6 +++--- go.mod | 6 ++++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 95cbef5..ec8cabb 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -19,7 +19,7 @@ jobs: - name: Setup go uses: actions/setup-go@v4 with: - go-version: "1.20" + go-version: "1.22" - name: Run releaser uses: goreleaser/goreleaser-action@v5 diff --git a/README.md b/README.md index 9f83a6b..9a79e1c 100644 --- a/README.md +++ b/README.md @@ -164,7 +164,7 @@ For simplicity, the python bindings just spawn another cortile instance via `cor Example scripts and detailed information's on how to get started can be found in the [cortile-addons](https://github.com/leukipp/cortile-addons) repository. ## Development [![development](https://img.shields.io/github/go-mod/go-version/leukipp/cortile?label=go&style=flat-square)](#development-) -You need [go >= 1.20](https://go.dev/dl/) to compile cortile. +You need [go >= 1.22](https://go.dev/dl/) to compile cortile.
Install - go
@@ -187,8 +187,8 @@ sudo pacman -S go ### Option 2: Install go via archive download Download a binary release suitable for your system: ```bash -cd /tmp/ && wget https://dl.google.com/go/go1.20.linux-amd64.tar.gz -sudo tar -xvf go1.20.linux-amd64.tar.gz +cd /tmp/ && wget https://dl.google.com/go/go1.22.8.linux-amd64.tar.gz +sudo tar -xvf go1.22.8.linux-amd64.tar.gz sudo mv -fi go /usr/local ``` diff --git a/go.mod b/go.mod index 088519a..83544ee 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,8 @@ module github.com/leukipp/cortile/v2 -go 1.20 +go 1.22.0 + +toolchain go1.22.8 require ( fyne.io/systray v1.11.0 @@ -25,5 +27,5 @@ require ( github.com/tklauser/numcpus v0.9.0 // indirect github.com/yusufpapurcu/wmi v1.2.4 // indirect golang.org/x/crypto v0.28.0 // indirect - golang.org/x/sys v0.26.0 // indirect; indirect TODO: update deps + golang.org/x/sys v0.26.0 // indirect )