Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gohugoio/hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnthony Fok <foka@debian.org>2022-03-21 19:25:36 +0300
committerAnthony Fok <anthony.fok@canada.ca>2022-03-22 06:01:24 +0300
commitbbd455fe79de4d882c103f4352945f60276e564e (patch)
tree73eb1a6c01441330d25656a855f9bd37b53993cb
parent8309a2b1c12009fffb1da574b4d19715f8566683 (diff)
Update CONTRIBUTING.md to use "go install" to install mage
In Go 1.18, "go get" no longer builds packages.
-rw-r--r--.github/workflows/test.yml2
-rw-r--r--CONTRIBUTING.md2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index e3a76d38d..4fea0bd10 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -9,7 +9,7 @@ jobs:
matrix:
# Note: We upgraded to Go 1.18 in Hugo v0.95.0
# Go 1.18 had some breaking changes on the source level which means Hugo cannot be built
- # with older Go versions, but the improvements in Go 1.18 were to good to pass on (e.g. break and continue).
+ # with older Go versions, but the improvements in Go 1.18 were too good to pass on (e.g. break and continue).
# Note that you don't need Go (or Go 1.18) to run a pre-built binary.
go-version: [1.18.x]
os: [ubuntu-latest, macos-latest, windows-latest]
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index db5f3e247..c370f9304 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -126,7 +126,7 @@ go install
For some convenient build and test targets, you also will want to install Mage:
```bash
-go get github.com/magefile/mage
+go install github.com/magefile/mage
```
Now, to make a change to Hugo's source: