aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorkegsay <kegan@matrix.org>2023-04-05 14:35:55 +0100
committerGitHub <noreply@github.com>2023-04-05 14:35:55 +0100
commite093005bc2a2a582ed884826fc4efc90c4b9d9ad (patch)
treeede0fdfc6d3085bdea291f4404194737e4dbb73f /.github
parent3691423626c94418388c48c1a91ac69dcd8b196b (diff)
ci: don't use go get, use go install (#3048)
Otherwise CI can fail with: ``` go: go.mod file not found in current directory or any parent directory. 'go get' is no longer supported outside a module. To build and install a command, use 'go install' with a version, like 'go install example.com/cmd@latest' For more information, see https://golang.org/doc/go-get-install-deprecation or run 'go help get' or 'go help install'. ```
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/dendrite.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/workflows/dendrite.yml b/.github/workflows/dendrite.yml
index 2101c7a5..17f02b09 100644
--- a/.github/workflows/dendrite.yml
+++ b/.github/workflows/dendrite.yml
@@ -393,7 +393,7 @@ jobs:
# See https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-Readme.md specifically GOROOT_1_17_X64
run: |
sudo apt-get update && sudo apt-get install -y libolm3 libolm-dev
- go get -v github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest
+ go install github.com/gotesttools/gotestfmt/v2/cmd/gotestfmt@latest
- name: Run actions/checkout@v3 for dendrite
uses: actions/checkout@v3
with: