mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-06 09:09:40 +02:00
Convert XML files in android/ from CRLF to LF, exclude .bat files from CI check
This commit is contained in:
8
.github/workflows/github.yml
vendored
8
.github/workflows/github.yml
vendored
@@ -148,10 +148,10 @@ jobs:
|
||||
- name: Ensure LF line endings
|
||||
if: ${{ startsWith(matrix.preset, 'linux-clang-test') }}
|
||||
run: |
|
||||
find . -path ./.git -prune -o -path ./AI/FuzzyLite -prune \
|
||||
-o -path ./osx -prune -o -path ./test/googletest -prune -o -type f \
|
||||
-not -name '*.png' -and -not -name '*.vcxproj*' -and -not -name '*.props' \
|
||||
-not -name '*.wav' -not -name '*.ico' -print0 | { ! xargs -0 grep -l -z -P '\r\n'; }
|
||||
find . -path ./.git -prune -o -path ./AI/FuzzyLite -prune -prune -o -path ./test/googletest \
|
||||
-o -path ./osx -prune -o -type f \
|
||||
-not -name '*.png' -and -not -name '*.vcxproj*' -and -not -name '*.props' -and -not -name '*.wav' -and -not -name '*.ico' -and -not -name '*.bat' -print0 | \
|
||||
{ ! xargs -0 grep -l -z -P '\r\n'; }
|
||||
|
||||
- name: Validate JSON
|
||||
# the Python yaml module doesn't seem to work on mac-arm
|
||||
|
||||
Reference in New Issue
Block a user