Fix Github Action on Windows (#586)
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 73189c8..630f805 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -135,6 +135,11 @@
- name: Run the test
run: |
+ # This is a workaround to make graphviz installed through choco work.
+ # It generates a config file to tell dot what layout engine and
+ # format types are available. See
+ # https://github.com/google/pprof/issues/585 for more details.
+ dot -c
go env
go build github.com/google/pprof
go test -v ./...