mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
Update CONTRIBUTING.md to use "go install" to install mage
In Go 1.18, "go get" no longer builds packages.
This commit is contained in:
parent
8309a2b1c1
commit
bbd455fe79
2 changed files with 2 additions and 2 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
@ -9,7 +9,7 @@ jobs:
|
||||||
matrix:
|
matrix:
|
||||||
# Note: We upgraded to Go 1.18 in Hugo v0.95.0
|
# 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
|
# 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.
|
# Note that you don't need Go (or Go 1.18) to run a pre-built binary.
|
||||||
go-version: [1.18.x]
|
go-version: [1.18.x]
|
||||||
os: [ubuntu-latest, macos-latest, windows-latest]
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
||||||
|
|
|
@ -126,7 +126,7 @@ go install
|
||||||
For some convenient build and test targets, you also will want to install Mage:
|
For some convenient build and test targets, you also will want to install Mage:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
go get github.com/magefile/mage
|
go install github.com/magefile/mage
|
||||||
```
|
```
|
||||||
|
|
||||||
Now, to make a change to Hugo's source:
|
Now, to make a change to Hugo's source:
|
||||||
|
|
Loading…
Reference in a new issue