Skip to content

Commit 573a7fb

Browse files
add dirs for skip
Signed-off-by: Nikita Korolev <nikita.korolev@flant.com>
1 parent 5bb27ad commit 573a7fb

1 file changed

Lines changed: 10 additions & 2 deletions

File tree

.github/workflows/dev_module_build.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -190,10 +190,18 @@ jobs:
190190
- name: Lint all directories with golangci-lint
191191
shell: bash
192192
run: |
193-
set -eo pipefail
193+
# set -eo pipefail
194+
set -e
194195
195196
# Find directories containing .golangci.yaml
196-
mapfile -t config_dirs < <(find . -type f -name '.golangci.yaml' -printf '%h\0' | xargs -0 -n1 | sort -u)
197+
mapfile -t config_dirs < <(
198+
find . \
199+
-path ./images/cdi-cloner/cloner-startup -prune -o \
200+
-path ./images/dvcr-artifact -prune -o \
201+
-path ./test/shatal -prune -o \
202+
-type f -name '.golangci.yaml' -printf '%h\0' | \
203+
xargs -0 -n1 | sort -u
204+
)
197205
count=${#config_dirs[@]}
198206
echo "::notice title=Lint Setup::🔍 Found $count directories with linter configurations"
199207

0 commit comments

Comments
 (0)