Skip to content

Commit

Permalink
Add step in GH actions to download goleak dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
lukebakken committed Apr 14, 2022
1 parent c8e8792 commit c222ead
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,7 @@ jobs:
uses: actions/setup-go@v3
with:
go-version: ${{ matrix.go-version }}
- name: Dependencies
run: go mod download go.uber.org/goleak
- name: Tests
run: AMQP_URL=amqp://guest:guest@localhost:5672/ go test -cpu=1,2 -v -tags integration
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

1. Go: [https://golang.org/dl/](https://golang.org/dl/)
1. Golint `go get -u -v github.com/golang/lint/golint`
1. Goleak `go mod download go.uber.org/goleak`

## Contributing

Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ list: ## list Makefile targets
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'


deps:
go mod download go.uber.org/goleak

fmt: ## Run go fmt against code
go fmt ./...

Expand Down

0 comments on commit c222ead

Please sign in to comment.