summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcrystal <crystal@noreply.codeberg.org>2024-04-09 05:49:38 -0600
committercrystal <crystal@noreply.codeberg.org>2024-04-09 05:49:38 -0600
commit391360b320cbbef047a651dda3abfa3d4264935b (patch)
treede3d853dc550e0b8e826fecd6e139157e88f778b
parent03fcb8fe818d4658d7ded45d89b2d941e031ef6c (diff)
install go1.21.9
-rwxr-xr-x.ci-make.sh7
-rw-r--r--.crystalintegration.yml2
2 files changed, 9 insertions, 0 deletions
diff --git a/.ci-make.sh b/.ci-make.sh
index 597be52..7c112bf 100755
--- a/.ci-make.sh
+++ b/.ci-make.sh
@@ -155,6 +155,13 @@ case "$1" in
ln -sf /usr/lib/go-$DEP_GOLANG_VER/bin/go /usr/local/bin/go
adduser --quiet --comment forgejo --disabled-password forgejo
chown -R forgejo:forgejo .
+ if [ "$DEP_GOLANG_NODEB_REV" ];then
+ go install golang.org/dl/go$DEP_GOLANG_VER.$DEP_GOLANG_NODEB_REV@latest
+ ln -s ~/go/bin/go$DEP_GOLANG_VER.$DEP_GOLANG_NODEB_REV ~/go/bin/go
+ export PATH="$HOME/go/bin:$PATH"
+ go download
+ go version
+ fi
;;
esac
diff --git a/.crystalintegration.yml b/.crystalintegration.yml
index 0821dab..1c51f51 100644
--- a/.crystalintegration.yml
+++ b/.crystalintegration.yml
@@ -20,6 +20,7 @@ variables:
- &deb_test_image_mantic 'sc.cryxtal.org/ci-img/deb-test-ubuntu:mantic'
- &deb_test_image_lunar 'sc.cryxtal.org/ci-img/deb-test-ubuntu:lunar'
- &forgejo_test_golang_ver '1.21'
+ - &forgejo_test_golang_nodeb_rev '9'
- &build_submodule 'forgejo'
- &goproxy_override ''
- &goproxy_setup |-
@@ -112,6 +113,7 @@ steps:
environment:
GOPROXY_OVERRIDE: *goproxy_override
DEP_GOLANG_VER: *forgejo_test_golang_ver
+ DEP_GOLANG_NODEB_REV: *forgejo_test_golang_nodeb_rev
commands:
- *goproxy_setup
- ./.ci-make.sh forgejo-test-deps