Use golang 1.21 for forgejo-test-deps

This commit is contained in:
crystal 2024-01-09 18:27:35 -07:00
parent 9d8dc1b1d8
commit 3e65e083a0
No known key found for this signature in database
GPG key ID: 1122054731F7CC43
2 changed files with 4 additions and 2 deletions

View file

@ -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 .
;;