We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 865d08a + 2c5682c commit f7988c7Copy full SHA for f7988c7
verify/test.sh
@@ -21,20 +21,11 @@ set -o pipefail
21
KUBE_ROOT=$(dirname "${BASH_SOURCE}")/..
22
cd "$KUBE_ROOT"
23
24
-# WARNING: we exclude the following paths from linting
25
-# because the CI lacks the required golang version (1.20)
26
-EXCLUDE_PATHS=("util-images/watch-list")
27
-
28
-if [[ ${#EXCLUDE_PATHS[@]} -ne 0 ]]; then
29
- echo "WARNING: The following paths will be excluded from linting: ${EXCLUDE_PATHS[@]}"
30
-fi
31
32
# Find all directories with go.mod file,
33
# exluding go.mod from vendor/ and _logviewer
34
MODULE_BASED=$(find . -type d -name vendor -prune \
35
-o -type f -name go.mod -printf "%h\n" \
36
- | sort -u \
37
- | grep -v -E $(printf -- "-e %s\n" "${EXCLUDE_PATHS[@]}"))
+ | sort -u)
38
39
set +x
40
status=0
0 commit comments