Use golang 1.21 for forgejo-test-deps
This commit is contained in:
parent
9d8dc1b1d8
commit
3e65e083a0
|
@ -149,8 +149,8 @@ case "$1" in
|
|||
export DEBIAN_FRONTEND=noninteractive
|
||||
apt update -qq
|
||||
apt install -qq --no-install-recommends -y git-lfs
|
||||
apt install -qq -y -t bookworm-backports golang-1.20
|
||||
ln -sf /usr/lib/go-1.20/bin/go /usr/local/bin/go
|
||||
apt install -qq -y -t bookworm-backports golang-$DEP_GOLANG_VER
|
||||
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 .
|
||||
;;
|
||||
|
|
|
@ -18,6 +18,7 @@ variables:
|
|||
- &deb_test_image_focal 'sc.cryxtal.org/ci-img/deb-test-ubuntu:focal'
|
||||
- &deb_test_image_kinetic 'sc.cryxtal.org/ci-img/deb-test-ubuntu:kinetic'
|
||||
- &deb_test_image_lunar 'sc.cryxtal.org/ci-img/deb-test-ubuntu:lunar'
|
||||
- &forgejo_test_golang_ver '1.21'
|
||||
- &build_submodule 'forgejo'
|
||||
- &goproxy_override ''
|
||||
- &goproxy_setup |-
|
||||
|
@ -104,6 +105,7 @@ steps:
|
|||
group: checks
|
||||
environment:
|
||||
GOPROXY_OVERRIDE: *goproxy_override
|
||||
DEP_GOLANG_VER: *forgejo_test_golang_ver
|
||||
secrets:
|
||||
- goproxy_default
|
||||
commands:
|
||||
|
|
Loading…
Reference in a new issue