Browse Source

Handle 'go get' deprecation (#14611)

* Switch out 'go get' for 'go install'.

* Changelog
realtyem 1 year ago
parent
commit
05eb55f57d
2 changed files with 2 additions and 1 deletions
  1. 1 1
      .ci/scripts/setup_complement_prerequisites.sh
  2. 1 0
      changelog.d/14611.misc

+ 1 - 1
.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

+ 1 - 0
changelog.d/14611.misc

@@ -0,0 +1 @@
+Switch to Go recommended installation method for `gotestfmt` template in CI.