diff options
author | Robin Jarry <robin@jarry.cc> | 2023-02-26 22:08:30 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-02-26 22:20:25 +0100 |
commit | e745d099f6d954879a5d128880604f4758820f10 (patch) | |
tree | 8feb6c099b1ef198bc59699dccc6f69b4286714a /.builds/alpine.yml | |
parent | 30d8f8dd213b86bd34c501d7820a33fd441cc267 (diff) | |
download | aerc-e745d099f6d954879a5d128880604f4758820f10.tar.gz |
mod: remove support for go 1.16
The dependency to x/tools@v0.6.0 drags x/sys@v0.5.0 which is not
compatible with go 1.16
# golang.org/x/sys/unix
golang.org/x/sys@v0.5.0/unix/syscall.go:83:16: undefined: unsafe.Slice
golang.org/x/sys@v0.5.0/unix/syscall_linux.go:2271:9: undefined: unsafe.Slice
golang.org/x/sys@v0.5.0/unix/syscall_unix.go:118:7: undefined: unsafe.Slice
golang.org/x/sys@v0.5.0/unix/sysvshm_unix.go:33:7: undefined: unsafe.Slice
note: module requires Go 1.17
Since go 1.16 is now EOL, update the minimal go version to 1.17.
Update go.mod and go.sum with the following command:
go mod tidy -compat=1.17
Signed-off-by: Robin Jarry <robin@jarry.cc>
Acked-by: Moritz Poldrack <moritz@poldrack.dev>
Diffstat (limited to '.builds/alpine.yml')
-rw-r--r-- | .builds/alpine.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.builds/alpine.yml b/.builds/alpine.yml index 0af9e6e4..10d21969 100644 --- a/.builds/alpine.yml +++ b/.builds/alpine.yml @@ -29,8 +29,8 @@ tasks: cd aerc go test ./... - ancient-go-version: | - curl -O https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/go-1.16.15-r0.apk - sudo apk add ./go-1.16.15-r0.apk + curl -O https://dl-cdn.alpinelinux.org/alpine/v3.15/community/x86_64/go-1.17.10-r0.apk + sudo apk add ./go-1.17.10-r0.apk cd aerc make clean make |