The integration tests are now broken.
After cloning the repository, I tried running the integration test cases in the tests/integration folder with GITHUB_AUTH_TOKEN set in environment.
Here is what I did from the GitHub folder
go get -t -v ./...
go test -v ../tests/integration/*
Here is the error I got
../tests/integration/repos_test.go:117: branch.Protection undefined (type *github.Branch has no field or method Protection)
...
../tests/integration/repos_test.go:140: too many errors
FAIL command-line-arguments [build failed]
The integration tests are now broken.
After cloning the repository, I tried running the integration test cases in the tests/integration folder with GITHUB_AUTH_TOKEN set in environment.
Here is what I did from the GitHub folder
go get -t -v ./...
go test -v ../tests/integration/*
Here is the error I got
../tests/integration/repos_test.go:117: branch.Protection undefined (type *github.Branch has no field or method Protection)
...
../tests/integration/repos_test.go:140: too many errors
FAIL command-line-arguments [build failed]