File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -758,9 +758,9 @@ steps:
758758 - name : test-e2e
759759 image : mcr.microsoft.com/playwright:v1.32.3-jammy
760760 commands :
761- - curl -fsSL https://go.dev/dl/go1.20.3.linux-amd64.tar.gz | tar -xz -C /usr/local
761+ - apt-get -qq update && apt-get -qqy install jq build-essential
762+ - curl -fsSL "https://go.dev/dl/go$(curl -s 'https://go.dev/dl/?mode=json' | jq -r '.[].version' | sort -nr | cut -c 3- | grep 1.20).linux-amd64.tar.gz" | tar -xz -C /usr/local
762763 - groupadd --gid 1001 gitea && useradd -m --gid 1001 --uid 1001 gitea
763- - apt-get -qq update && apt-get -qqy install build-essential
764764 - ./build/test-env-prepare.sh
765765 - su gitea bash -c "export PATH=$PATH:/usr/local/go/bin && timeout -s ABRT 40m make test-e2e-sqlite"
766766 environment :
You can’t perform that action at this time.
0 commit comments