Skip to content

Commit 1616e9b

Browse files
committed
Update stylecheck.yml
1 parent cb6a8a4 commit 1616e9b

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

.github/workflows/stylecheck.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ jobs:
5252
- name: Fix encoding
5353
run: |
5454
# Ensure that files are UTF-8 encoded
55-
find . \( -path ./Externals -o -path ./sdk -o -path ./src/utils/mp_gpprof_server/libraries -o -path ./res \) -prune -o -iregex '.*\.\(h\|hpp\|inl\|c\|cpp\|yaml\|yml\|md\|txt\|cmake\|sh\)' -type f -exec bash -c 'recode UTF-8 "$0" 2> /dev/null' {} \;
55+
find . \( -path ./Externals -o -path ./sdk -o -path ./res \) -prune -o -iregex '.*\.\(h\|hpp\|inl\|c\|cpp\|yaml\|yml\|md\|txt\|cmake\|sh\)' -type f -exec bash -c 'recode UTF-8 "$0" 2> /dev/null' {} \;
5656
5757
# Ensure that files have LF line endings and do not contain a BOM
58-
find . \( -path ./Externals -o -path ./sdk -o -path ./src/utils/mp_gpprof_server/libraries -o -path ./res \) -prune -o -iregex '.*\.\(h\|hpp\|inl\|c\|cpp\|yaml\|yml\|md\|txt\|cmake\|sh\)' -type f -exec bash -c 'dos2unix "$0" 2> /dev/null' {} \;
58+
find . \( -path ./Externals -o -path ./sdk -o -path ./res \) -prune -o -iregex '.*\.\(h\|hpp\|inl\|c\|cpp\|yaml\|yml\|md\|txt\|cmake\|sh\)' -type f -exec bash -c 'dos2unix "$0" 2> /dev/null' {} \;
5959
6060
- name: Report result
6161
run: |
@@ -103,7 +103,6 @@ jobs:
103103
git restore ./Externals
104104
git restore ./res
105105
git restore ./sdk
106-
git restore ./src/utils/mp_gpprof_server/libraries
107106
108107
- name: Report result
109108
run: |

0 commit comments

Comments
 (0)