mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-17 21:01:26 +02:00
github: Fix Windows build
Also update some Actions to get rid of some warnings. Fixes #11052
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user