Skip to content

Commit 2589812

Browse files
committed
Bump Go to 1.22 for wasip1
Signed-off-by: itowlson <[email protected]>
1 parent fffd126 commit 2589812

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

.devcontainer/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ FROM mcr.microsoft.com/vscode/devcontainers/rust:0-${VARIANT}
99
# && apt-get -y install --no-install-recommends <your-package-list-here>
1010

1111
# Go installation, see https://go.dev/doc/install
12-
ARG GO_URL="https://go.dev/dl/go1.20.1.linux-amd64.tar.gz"
12+
ARG GO_URL="https://go.dev/dl/go1.22.0.linux-amd64.tar.gz"
1313
RUN curl -sL "$GO_URL" | tar -xzf - -C /usr/local
1414
ENV PATH "$PATH:/usr/local/go/bin"
1515

1616
# TinyGo installation, see https://tinygo.org/getting-started/install/linux/ for instructions
17-
ARG TINYGO_URL="https://github.com/tinygo-org/tinygo/releases/download/v0.27.0/tinygo_0.27.0_amd64.deb"
17+
ARG TINYGO_URL="https://github.com/tinygo-org/tinygo/releases/download/v0.35.0/tinygo_0.35.0_amd64.deb"
1818
RUN curl -sL "$TINYGO_URL" -o tinygo_amd64.deb && dpkg -i tinygo_amd64.deb && rm tinygo_amd64.deb
1919

2020
# Install the gopls Go Language Server, see https://github.com/golang/tools/tree/master/gopls

.github/actions/spin-ci-dependencies/action.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ inputs:
4646
type: bool
4747
golang-version:
4848
description: 'golang version to setup'
49-
default: '1.20'
49+
default: '1.22'
5050
required: false
5151
type: string
5252

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ jobs:
200200
- uses: goto-bus-stop/setup-zig@v2
201201
- uses: actions/setup-go@v4
202202
with:
203-
go-version: '1.20.1'
203+
go-version: '1.22'
204204
- uses: acifani/setup-tinygo@v2
205205
with:
206206
tinygo-version: '0.35.0'

templates/http-go/content/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module github.com/{{project-name | snake_case}}
22

3-
go 1.20
3+
go 1.22
44

55
require github.com/fermyon/spin/sdk/go/v2 v2.2.0
66

templates/redis-go/content/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module github.com/{{project-name | snake_case}}
22

3-
go 1.20
3+
go 1.22
44

55
require github.com/fermyon/spin/sdk/go/v2 v2.2.0

0 commit comments

Comments
 (0)