mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-21 20:46:30 -05:00
ci: Add "go mod download" to CI scripts
To hopefully make them less flaky.
This commit is contained in:
parent
3b6bd1210a
commit
cf47f43ff1
2 changed files with 2 additions and 0 deletions
|
@ -22,6 +22,7 @@ install:
|
||||||
- cd $HOME/src/hugo
|
- cd $HOME/src/hugo
|
||||||
- go get github.com/magefile/mage
|
- go get github.com/magefile/mage
|
||||||
script:
|
script:
|
||||||
|
- go mod download
|
||||||
- mage -v test
|
- mage -v test
|
||||||
- mage -v check
|
- mage -v check
|
||||||
- mage -v hugo
|
- mage -v hugo
|
||||||
|
|
|
@ -17,6 +17,7 @@ install:
|
||||||
- go get github.com/magefile/mage
|
- go get github.com/magefile/mage
|
||||||
|
|
||||||
build_script:
|
build_script:
|
||||||
|
- go mod download
|
||||||
- mage hugoRace
|
- mage hugoRace
|
||||||
- mage -v check
|
- mage -v check
|
||||||
- hugo -s docs/
|
- hugo -s docs/
|
||||||
|
|
Loading…
Reference in a new issue