diff options
author | Bence Ferdinandy <bence@ferdinandy.com> | 2024-07-11 11:34:19 +0200 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-08-20 11:52:25 +0200 |
commit | 5d56a6fc75e8104e222a912caee61b1f0376b556 (patch) | |
tree | 88e2765ed4d8b684a5c278d010546c5ab820148d /.builds | |
parent | a890fcb435e223897e9cacd92fc95673af45fb81 (diff) | |
download | aerc-5d56a6fc75e8104e222a912caee61b1f0376b556.tar.gz |
go: bump minimal version to 1.21 and handle deprecations
Go 1.18 is already EOL. go-maildir v0.5.0 requires go 1.20 at least.
Since go 1.20 is also EOL, bump the minimum required go version to the
first still supported version which is 1.21.
Go 1.20 deprecated Seed and Read in math/rand. Update the code
accordingly.
Changelog-deprecated: Support for go 1.20 and older.
Signed-off-by: Bence Ferdinandy <bence@ferdinandy.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to '.builds')
-rw-r--r-- | .builds/alpine-edge.yml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.builds/alpine-edge.yml b/.builds/alpine-edge.yml index c8dcc6f0..a03f101e 100644 --- a/.builds/alpine-edge.yml +++ b/.builds/alpine-edge.yml @@ -20,6 +20,6 @@ tasks: - install: | gmake -C aerc install checkinstall - ancient-go-version: | - curl -O https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/go-1.18.7-r0.apk - sudo apk add ./go-1.18.7-r0.apk + curl -O https://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/go-1.21.10-r0.apk + sudo apk add ./go-1.21.10-r0.apk gmake -C aerc clean all |