summary refs log tree commit diff
diff options
context:
space:
mode:
authorrealtyem <realtyem@gmail.com>2022-12-05 04:29:55 -0600
committerGitHub <noreply@github.com>2022-12-05 10:29:55 +0000
commit05eb55f57dfe7fbd0d7b4403c1834318d282da0d (patch)
tree87f6fda3747a9a01da6824639b018b228182d612
parentBump cryptography from 38.0.3 to 38.0.4 (#14616) (diff)
downloadsynapse-05eb55f57dfe7fbd0d7b4403c1834318d282da0d.tar.xz
Handle 'go get' deprecation (#14611)
* Switch out 'go get' for 'go install'.

* Changelog
-rwxr-xr-x.ci/scripts/setup_complement_prerequisites.sh2
-rw-r--r--changelog.d/14611.misc1
2 files changed, 2 insertions, 1 deletions
diff --git a/.ci/scripts/setup_complement_prerequisites.sh b/.ci/scripts/setup_complement_prerequisites.sh
index 42ef654167..3778478da6 100755
--- a/.ci/scripts/setup_complement_prerequisites.sh
+++ b/.ci/scripts/setup_complement_prerequisites.sh
@@ -21,7 +21,7 @@ endblock
 
 block Install Complement Dependencies
   sudo apt-get -qq update && sudo apt-get install -qqy libolm3 libolm-dev
-  go get -v github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest
+  go install -v github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest
 endblock
 
 block Install custom gotestfmt template
diff --git a/changelog.d/14611.misc b/changelog.d/14611.misc
new file mode 100644
index 0000000000..e4959d00f7
--- /dev/null
+++ b/changelog.d/14611.misc
@@ -0,0 +1 @@
+Switch to Go recommended installation method for `gotestfmt` template in CI.