graph-gophers / dataloader

Implementation of Facebook's DataLoader in Golang
MIT License
1.2k stars 75 forks source link

ci: add Go 1.16, use default install, ensure module mode #75

Closed tonyghita closed 3 years ago

tonyghita commented 3 years ago

This PR attempts to fix the same issue as https://github.com/graph-gophers/dataloader/pull/73, but instead uses the default install step offered by TravisCI.

go get ./...

https://docs.travis-ci.com/user/languages/go/#dependency-management

We also add Go 1.16 to the build matrix and add GO111MODULE=on to ensure we always run builds with module-mode enabled.