summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Poldrack <git@moritz.sh>2022-06-28 11:52:39 +0200
committerRobin Jarry <robin@jarry.cc>2022-06-28 12:02:08 +0200
commit506f8f165c4c7de59255c5691ecef9f95dea5254 (patch)
tree51812318d8a947b42752468c212a644ad8db3d4f
parent26531fa932607fc4bde7429ae8b4ce864ff5f810 (diff)
downloadaerc-506f8f165c4c7de59255c5691ecef9f95dea5254.zip
ci: fix go-1.13 installation
For some reason the official way of getting older Go versions does not work, this patch makes the CI downgrade the package on a package manager level Signed-off-by: Moritz Poldrack <git@moritz.sh> Tested-by: builds.sr.ht <builds@sr.ht> Acked-by: Robin Jarry <robin@jarry.cc>
-rw-r--r--.builds/alpine-edge.yml8
1 files changed, 4 insertions, 4 deletions
diff --git a/.builds/alpine-edge.yml b/.builds/alpine-edge.yml
index 90c3215..d66b9cf 100644
--- a/.builds/alpine-edge.yml
+++ b/.builds/alpine-edge.yml
@@ -1,4 +1,3 @@
----
image: alpine/edge
packages:
- go
@@ -25,7 +24,8 @@ tasks:
cd aerc
go test ./...
- ancient-go-version: |
- go install golang.org/dl/go1.13@latest
- ~/go/bin/go1.13 download
+ curl -O https://dl-cdn.alpinelinux.org/alpine/v3.11/community/x86_64/go-1.13.13-r0.apk
+ sudo apk add ./go-1.13.13-r0.apk
cd aerc
- make GO=~/go/bin/go1.13
+ make clean
+ make