aboutsummaryrefslogtreecommitdiffhomepage
path: root/magefile.go
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2023-05-31 16:00:23 +0200
committerBjørn Erik Pedersen <[email protected]>2023-06-01 09:54:40 +0200
commit06faee5beb2244f08567ac8f50207152553d84a9 (patch)
treeed89dabf6c9b6e3f2b148798e496c65d244cecd9 /magefile.go
parent409c6c3fcd46a57c2f469663bb0106a1a3cf4469 (diff)
downloadhugo-06faee5beb2244f08567ac8f50207152553d84a9.tar.gz
hugo-06faee5beb2244f08567ac8f50207152553d84a9.zip
github: Fix Windows build
Also update some Actions to get rid of some warnings. Fixes #11052
Diffstat (limited to 'magefile.go')
-rw-r--r--magefile.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/magefile.go b/magefile.go
index bd9c5b830..2fc2c7f75 100644
--- a/magefile.go
+++ b/magefile.go
@@ -174,13 +174,13 @@ func Test386() error {
// Run tests
func Test() error {
env := map[string]string{"GOFLAGS": testGoFlags()}
- return runCmd(env, goexe, "test", "./...", buildFlags(), "-tags", buildTags())
+ return runCmd(env, goexe, "test", "./...", "-tags", buildTags())
}
// Run tests with race detector
func TestRace() error {
env := map[string]string{"GOFLAGS": testGoFlags()}
- return runCmd(env, goexe, "test", "-race", "./...", buildFlags(), "-tags", buildTags())
+ return runCmd(env, goexe, "test", "-race", "./...", "-tags", buildTags())
}
// Run gofmt linter