From 02c9486c13691259cd4e237222ac29a491318734 Mon Sep 17 00:00:00 2001 From: crwxaj <52156245+crwxaj@users.noreply.github.com> Date: Fri, 11 Oct 2024 17:12:43 +0200 Subject: [PATCH] update go version to 1.22 (#1858) Co-authored-by: crwxaj --- .github/workflows/lint.yml | 2 +- .gitpod.dockerfile | 2 +- Makefile | 2 +- README.md | 2 +- go.mod | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 718c922a2..1d6b29bf1 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,7 +15,7 @@ jobs: - name: Install Go uses: actions/setup-go@v5 with: - go-version: 1.21.x + go-version: 1.22.x - name: Install Node.js uses: actions/setup-node@v4 diff --git a/.gitpod.dockerfile b/.gitpod.dockerfile index 292dddf90..28318c87a 100644 --- a/.gitpod.dockerfile +++ b/.gitpod.dockerfile @@ -4,7 +4,7 @@ ENV HOME=/home/gitpod WORKDIR $HOME USER gitpod -ENV GO_VERSION=1.21.4 \ +ENV GO_VERSION=1.22.7 \ GOPATH=$HOME/go-packages \ GOROOT=$HOME/go RUN export PATH=$(echo "$PATH" | sed -e 's|:/workspace/go/bin||' -e 's|:/home/gitpod/go/bin||' -e 's|:/home/gitpod/go-packages/bin||') diff --git a/Makefile b/Makefile index a0866ec79..af416f9f2 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -GORELEASER_CROSS_VERSION ?= v1.21.4 +GORELEASER_CROSS_VERSION ?= v1.22.7 SYSROOT_DIR ?= sysroots SYSROOT_ARCHIVE ?= sysroots.tar.bz2 diff --git a/README.md b/README.md index 2e7be8c5d..fe13a6a27 100644 --- a/README.md +++ b/README.md @@ -73,7 +73,7 @@ Ask your questions and suggest features on [Discord](https://discord.gg/wdCHXAG) Make sure you have following installed: -- Go 1.21 +- Go 1.22 - Node.js 12.x - Yarn 1.17.x - air (run `go install github.com/cosmtrek/air@latest` outside project directory) diff --git a/go.mod b/go.mod index 1987dc434..975588a17 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/xbapps/xbvr -go 1.21 +go 1.22 require ( github.com/ProtonMail/go-appdir v1.1.0