summaryrefslogtreecommitdiff
path: root/.ci-make.sh
diff options
context:
space:
mode:
authorcrystal <crystal@noreply.codeberg.org>2024-01-09 18:27:35 -0700
committercrystal <crystal@noreply.codeberg.org>2024-01-09 18:27:35 -0700
commit3e65e083a0533c2d9930fdf9d9382285e9a1607b (patch)
tree4fba175afd77954fe97c8ddc42f6c0472414c9ca /.ci-make.sh
parent9d8dc1b1d8293e513c53891cf417dcadee8e8591 (diff)
Use golang 1.21 for forgejo-test-deps
Diffstat (limited to '.ci-make.sh')
-rwxr-xr-x.ci-make.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.ci-make.sh b/.ci-make.sh
index 6155b73..dc4ecee 100755
--- a/.ci-make.sh
+++ b/.ci-make.sh
@@ -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 .
;;