Skip to content

Commit 3211663

Browse files
committed
Bump to Go 1.21
1 parent 265c070 commit 3211663

File tree

4 files changed

+5
-13
lines changed

4 files changed

+5
-13
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,4 @@ jobs:
2727
with:
2828
services: |
2929
redis
30-
- name: Install Go tip
31-
run: |
32-
curl -sL https://storage.googleapis.com/go-build-snap/go/linux-amd64/$(git ls-remote https://github.com/golang/go.git HEAD | awk '{print $1;}').tar.gz -o gotip.tar.gz
33-
ls -lah gotip.tar.gz
34-
mkdir -p $HOME/gotip
35-
tar -C $HOME/gotip -xzf gotip.tar.gz
36-
- run: make test GO=$HOME/gotip/bin/go GOPATH=$HOME/gotip
30+
- run: make test

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.PHONY: clean proto test lint wasirun
22

3-
GO ?= gotip
3+
GO ?= go
44
GOPATH ?= $(shell $(GO) env GOPATH)
55
wasirun = $(GOPATH)/bin/wasirun
66

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,13 @@ This library provides `net.Dial` and `net.Listen` functions for
1010
Applications built with this library are compatible with [WasmEdge][wasmedge]
1111
and [wasi-go][wasi-go] such as [Timecraft][timecraft].
1212

13-
[gotip]: https://pkg.go.dev/golang.org/dl/gotip
13+
[go-121]: https://go.dev/blog/go1.21
1414
[timecraft]: https://github.com/stealthrocket/timecraft
1515
[wasi-go]: https://github.com/stealthrocket/wasi-go
1616
[wasip1]: https://tip.golang.org/doc/go1.21#wasip1
1717
[wasmedge]: https://github.com/WasmEdge/WasmEdge
1818

19-
_Note: GOOS=wasip1 will be released in Go 1.21. At this time you would need to
20-
use [gotip][gotip] to get the latest version of the Go compiler in order to use
21-
this package._
19+
_Note: `GOOS=wasip1` requires [Go 1.21][go-121]._
2220

2321
## Motivation
2422

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module github.com/stealthrocket/net
22

3-
go 1.20
3+
go 1.21
44

55
require golang.org/x/net v0.10.0

0 commit comments

Comments
 (0)