mirror of
https://github.com/NVIDIA/nvidia-container-toolkit
synced 2024-11-22 08:18:32 +00:00
Only run gofmt over go files under pkg/ in CI
Signed-off-by: Kevin Klues <kklues@nvidia.com>
This commit is contained in:
parent
647a805341
commit
e4b9318de3
@ -52,7 +52,7 @@ fmt:
|
|||||||
<<: *tests-setup
|
<<: *tests-setup
|
||||||
stage: tests
|
stage: tests
|
||||||
script:
|
script:
|
||||||
- res=$(gofmt -l *.go)
|
- res=$(gofmt -l pkg/*.go)
|
||||||
- echo "$res"
|
- echo "$res"
|
||||||
- test -z "$res"
|
- test -z "$res"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user