diff options
author | David Robertson <davidr@element.io> | 2023-04-06 15:23:36 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-06 15:23:36 +0100 |
commit | ec6430bad88ee7ab0b6d9df0d54cdbe68fa3c431 (patch) | |
tree | 28abeb05a4b0bddf00bd1d7672ea25e1080bb1d7 /.ci/scripts | |
parent | Fix the 'set_device_id_for_pushers_txn' background update. (#15391) (diff) | |
download | synapse-ec6430bad88ee7ab0b6d9df0d54cdbe68fa3c431.tar.xz |
Use setup-go instead of relying on go 1.17 to exist (#15403)
* Use setup-go instead of relying on 1.17 to exist See https://github.com/actions/runner-images/issues/7276 * Changelog
Diffstat (limited to '.ci/scripts')
-rwxr-xr-x | .ci/scripts/setup_complement_prerequisites.sh | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/.ci/scripts/setup_complement_prerequisites.sh b/.ci/scripts/setup_complement_prerequisites.sh index 3778478da6..47a3ff8e69 100755 --- a/.ci/scripts/setup_complement_prerequisites.sh +++ b/.ci/scripts/setup_complement_prerequisites.sh @@ -9,16 +9,6 @@ set -eu alias block='{ set +x; } 2>/dev/null; func() { echo "::group::$*"; set -x; }; func' alias endblock='{ set +x; } 2>/dev/null; func() { echo "::endgroup::"; set -x; }; func' -block Set Go Version - # The path is set via a file given by $GITHUB_PATH. We need both Go 1.17 and GOPATH on the path to run Complement. - # See https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-system-path - - # Add Go 1.17 to the PATH: see https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-Readme.md#environment-variables-2 - echo "$GOROOT_1_17_X64/bin" >> $GITHUB_PATH - # Add the Go path to the PATH: We need this so we can call gotestfmt - echo "~/go/bin" >> $GITHUB_PATH -endblock - block Install Complement Dependencies sudo apt-get -qq update && sudo apt-get install -qqy libolm3 libolm-dev go install -v github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest |