lacion / cookiecutter-golang

A Go project template
MIT License
690 stars 178 forks source link

CircleCI fails with default template: go: Command not found #32

Closed Joel-Valentine closed 2 years ago

Joel-Valentine commented 4 years ago

Describe the bug When using the default setup, Docker and CircleCI.

Setting the project up on CircleCI fails on the Run tests step with error:

go test ./...
make: go: Command not found
make: *** [Makefile:60: test] Error 127

Exited with code exit status 2

To Reproduce Steps to reproduce the behavior:

  1. use cookie cutter with this template
  2. select all the defaults BUT chose CircleCI
  3. Push repo to github
  4. Setup as project on CircleCI
  5. add DOCKER_USER & DOCKER_PASS as env vars
  6. Notice it fails on Run tests step

Expected behavior Should not fail on step 6 but pass

Desktop (please complete the following information):