Skip to content

Commit

Permalink
build: update go version
Browse files Browse the repository at this point in the history
  • Loading branch information
leukipp committed Nov 2, 2024
1 parent 38754a3 commit 96a0edd
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

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

Expand All @@ -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
```

Expand Down
6 changes: 4 additions & 2 deletions go.mod
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
)

0 comments on commit 96a0edd

Please sign in to comment.