Skip to content

Commit 9664bba

Browse files
chore(ci): exclude tolk folder from linter checks (#2227)
1 parent 93c0d83 commit 9664bba

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/build-ton-linux-x86-64-werror.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,20 @@ jobs:
5555
5656
- name: Check spaces at EOL
5757
run: |
58-
! git grep --cached -Il '\s$'
58+
! git grep --cached -Il '\s$' -- :/ \
59+
':(exclude)crypto/smartcont/tolk-stdlib/' \
60+
':(exclude)tolk/' \
61+
':(exclude)tolk-tester/' \
62+
':(exclude)third-party/'
5963
6064
- name: Check C++ formatting
6165
run: |
6266
# TODO: Run clang-format only on changed files.
63-
clang-format-21 -i $(git ls-files '*.h' '*.hpp' '*.cpp' ':!^tolk/')
67+
clang-format-21 -i $(git ls-files '*.h' '*.hpp' '*.cpp' \
68+
':(exclude)crypto/smartcont/tolk-stdlib/' \
69+
':(exclude)tolk/' \
70+
':(exclude)tolk-tester/' \
71+
':(exclude)third-party/')
6472
git diff --exit-code
6573
6674
- name: Prepare Python environment

0 commit comments

Comments
 (0)