diff options
author | Anthony Fok <[email protected]> | 2022-03-21 10:25:36 -0600 |
---|---|---|
committer | Anthony Fok <[email protected]> | 2022-03-21 21:01:24 -0600 |
commit | bbd455fe79de4d882c103f4352945f60276e564e (patch) | |
tree | 73eb1a6c01441330d25656a855f9bd37b53993cb | |
parent | 8309a2b1c12009fffb1da574b4d19715f8566683 (diff) | |
download | hugo-bbd455fe79de4d882c103f4352945f60276e564e.tar.gz hugo-bbd455fe79de4d882c103f4352945f60276e564e.zip |
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.yml | 2 | ||||
-rw-r--r-- | CONTRIBUTING.md | 2 |
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: |