gojuno / minimock

Powerful mock generation tool for Go programming language
MIT License
632 stars 38 forks source link

ci: set up a GitHub Actions workflow to release minimock #83

Closed suzuki-shunsuke closed 9 months ago

suzuki-shunsuke commented 9 months ago

Close #81

The workflow is triggered when you push GitHub tags.

Test

I confirmed the workflow works well.

suzuki-shunsuke commented 9 months ago

The workflow failed. I'm checking.

https://github.com/suzuki-shunsuke/minimock/actions/runs/7405754579/job/20149187063

  ⨯ release failed after 8s                  error=hook failed: shell: 'make all': exit status 2: go mod download
go install ./cmd/minimock
github.com/gojuno/minimock/v3/cmd/minimock: go install github.com/gojuno/minimock/v3/cmd/minimock: copying /tmp/go-build1608033171/b001/exe/a.out: open /bin/minimock: permission denied
make: *** [Makefile:28: install] Error 1
Error: The process '/opt/hostedtoolcache/goreleaser-action/1.23.0/x64/goreleaser' failed with exit code 1