Skip to content

Commit

Permalink
Merge pull request #8 from Appboy/upgrade-ttlcache-more
Browse files Browse the repository at this point in the history
Upgrade ttlcache to 1.4.0 for data race, memory usage fixes
  • Loading branch information
froodian authored Apr 29, 2019
2 parents fd9ffaf + 599bcbe commit c228ee5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 13 deletions.
6 changes: 3 additions & 3 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

[[constraint]]
name = "github.com/diegobernardes/ttlcache"
version = "~1.3.0"
version = "~1.4.0"

[[constraint]]
name = "github.com/fortytw2/leaktest"
Expand Down
11 changes: 2 additions & 9 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@ TEST_OPTIONS?=-race -cover

.PHONY: setup
setup: ## Install all the build and lint dependencies
go get -u gopkg.in/alecthomas/gometalinter.v2
go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
go get -u github.com/golang/dep/cmd/dep
go get -u golang.org/x/tools/cmd/cover
go get -u golang.org/x/tools/cmd/goimports
go get -u github.com/AlekSi/gocoverutil
dep ensure
gometalinter.v2 --install --update

.PHONY: test
test: ## Run all the tests
Expand All @@ -27,13 +26,7 @@ fmt: ## gofmt and goimports all go files

.PHONY: lint
lint: ## Run all the linters
## global lint tests
gometalinter.v2 --vendor --enable-all --line-length=120 \
--disable=golint \
--disable=errcheck \
--cyclo-over=15 \
--deadline=10m \
./...
golangci-lint run --deadline=15m

# Absolutely awesome: http://marmelab.com/blog/2016/02/29/auto-documented-makefile.html
.PHONY: help
Expand Down

0 comments on commit c228ee5

Please sign in to comment.