Add import restrictions check

Signed-off-by: Djordje Lukic <djordje.lukic@docker.com>
This commit is contained in:
Djordje Lukic 2020-08-18 16:10:34 +02:00
parent c9158a7c37
commit b41d216aaa
5 changed files with 52 additions and 1 deletions

View file

@ -21,6 +21,9 @@ jobs:
- name: Validate go-mod is up-to-date and license headers
run: make validate
- name: Validate imports
run: make import-restrictions
- name: Run golangci-lint
run: |
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b . v1.30.0
@ -57,4 +60,4 @@ jobs:
run: make -f builder.Makefile cli
- name: E2E Test
run: make e2e-local
run: make e2e-local