Add versioning pinning checker and instructions

This ensures that the version pinning is setup correctly, so all the deps
are pointing at the right underlying versions.
This commit is contained in:
Sargun Dhillon
2020-06-04 14:24:31 -07:00
parent b3213d6eb2
commit bef6eda40d
4 changed files with 71 additions and 2 deletions

View File

@@ -25,6 +25,9 @@ jobs:
- run:
name: Dependencies
command: scripts/validate/gomod.sh
- run:
name: Kubernetes dependency pinning
command: ./scripts/validate/check_version.sh
- save_cache:
key: validate-{{ checksum "go.mod" }}-{{ checksum "go.sum" }}
paths: