all: update stale refs to Travis (#312)
This commit is contained in:
@@ -21,14 +21,11 @@
|
||||
# This script expects:
|
||||
# a) to be run at the root of the repository
|
||||
# b) HEAD is pointing to a commit that merges between the pull request and the
|
||||
# upstream branch (TRAVIS_BRANCH). This is what Travis does (see
|
||||
# https://docs.travis-ci.com/user/pull-requests/ for details), but if you
|
||||
# are testing this script manually, you may need to manually create a merge
|
||||
# commit.
|
||||
# upstream branch (GITHUB_HEAD_REF).
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
UPSTREAM_BRANCH="${TRAVIS_BRANCH:-master}"
|
||||
UPSTREAM_BRANCH="${GITHUB_HEAD_REF:-master}"
|
||||
echo "Checking for incompatible API changes relative to ${UPSTREAM_BRANCH}..."
|
||||
|
||||
MASTER_CLONE_DIR="$(mktemp -d)"
|
||||
|
||||
@@ -20,6 +20,6 @@ set -euo pipefail
|
||||
# $ internal/listdeps.sh > internal/alldeps
|
||||
#
|
||||
# Important note: there are changes in module tooling behavior between go 1.11
|
||||
# and go 1.12; please make sure to use the same version of Go as used by Travis
|
||||
# (see .travis.yml) when updating the alldeps file.
|
||||
# and go 1.12; please make sure to use the same version of Go as used by Github
|
||||
# Actions (see .github/workflows/tests.yml) when updating the alldeps file.
|
||||
go list -deps -f '{{with .Module}}{{.Path}}{{end}}' ./... | sort | uniq
|
||||
|
||||
Reference in New Issue
Block a user