diff --git a/.slsa-goreleaser-darwin-arm64.yml b/.slsa-goreleaser-darwin-arm64.yml index 5d7db99..0b0e5ad 100644 --- a/.slsa-goreleaser-darwin-arm64.yml +++ b/.slsa-goreleaser-darwin-arm64.yml @@ -4,7 +4,7 @@ flags: - -trimpath goos: darwin -goarch: arm +goarch: arm64 binary: hishtory-{{ .OS }}-{{ .Arch }} diff --git a/client/client_test.go b/client/client_test.go index 84d474d..f52611d 100644 --- a/client/client_test.go +++ b/client/client_test.go @@ -365,7 +365,7 @@ hishtory disable`) // Query based on after: and cwd: // TODO: This fails on macos for some reason - if runtime.GOOS == "darwin" && os.Getenv("GITHUB_ACTIONS") != "" { + if !(runtime.GOOS == "darwin" && os.Getenv("GITHUB_ACTIONS") != "") { out = hishtoryQuery(t, `after:1980-07-02 cwd:/tmp`) if strings.Count(out, "\n") != 3 { t.Fatalf("hishtory query has the wrong number of lines=%d, out=%#v", strings.Count(out, "\n"), out)