Skip to content

Commit 96a0edd

Browse files
committed
build: update go version
1 parent 38754a3 commit 96a0edd

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

.github/workflows/release.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Setup go
2020
uses: actions/setup-go@v4
2121
with:
22-
go-version: "1.20"
22+
go-version: "1.22"
2323

2424
- name: Run releaser
2525
uses: goreleaser/goreleaser-action@v5

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ For simplicity, the python bindings just spawn another cortile instance via `cor
164164
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.
165165

166166
## Development [![development](https://img.shields.io/github/go-mod/go-version/leukipp/cortile?label=go&style=flat-square)](#development-)
167-
You need [go >= 1.20](https://go.dev/dl/) to compile cortile.
167+
You need [go >= 1.22](https://go.dev/dl/) to compile cortile.
168168

169169
<details><summary>Install - go</summary><div>
170170

@@ -187,8 +187,8 @@ sudo pacman -S go
187187
### Option 2: Install go via archive download
188188
Download a binary release suitable for your system:
189189
```bash
190-
cd /tmp/ && wget https://dl.google.com/go/go1.20.linux-amd64.tar.gz
191-
sudo tar -xvf go1.20.linux-amd64.tar.gz
190+
cd /tmp/ && wget https://dl.google.com/go/go1.22.8.linux-amd64.tar.gz
191+
sudo tar -xvf go1.22.8.linux-amd64.tar.gz
192192
sudo mv -fi go /usr/local
193193
```
194194

go.mod

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
module github.com/leukipp/cortile/v2
22

3-
go 1.20
3+
go 1.22.0
4+
5+
toolchain go1.22.8
46

57
require (
68
fyne.io/systray v1.11.0
@@ -25,5 +27,5 @@ require (
2527
github.com/tklauser/numcpus v0.9.0 // indirect
2628
github.com/yusufpapurcu/wmi v1.2.4 // indirect
2729
golang.org/x/crypto v0.28.0 // indirect
28-
golang.org/x/sys v0.26.0 // indirect; indirect TODO: update deps
30+
golang.org/x/sys v0.26.0 // indirect
2931
)

0 commit comments

Comments
 (0)