mirror of
https://github.com/alexbatalov/fallout2-ce.git
synced 2025-02-22 03:40:47 +00:00
Fix clang-format args
Looks like clang-format in Ubuntu does not recognize glob pattern as macOS does. Previous solution without xargs reported status code of find itself, not clang-format.
This commit is contained in:
parent
6b6fa3f111
commit
2565900f90
2
.github/workflows/ci-build.yml
vendored
2
.github/workflows/ci-build.yml
vendored
@ -41,7 +41,7 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: clang-format
|
||||
run: clang-format --dry-run --Werror src/**/*.cc src/**/*.h
|
||||
run: find src -type f -name \*.cc -o -name \*.h | xargs clang-format --dry-run --Werror
|
||||
|
||||
android:
|
||||
name: Android
|
||||
|
Loading…
x
Reference in New Issue
Block a user