mirror of
https://github.com/timescale/timescaledb.git
synced 2025-05-16 18:43:18 +08:00
Add SQL test files to trailing whitespace CI check
In commit 1f807153 we added a CI check for trailing whitespaces over our source code files (.c and .h). This commit add SQL test files (.sql and .sql.in) to this check.
This commit is contained in:
parent
3749953e97
commit
b1742969d0
2
.github/workflows/code_style.yaml
vendored
2
.github/workflows/code_style.yaml
vendored
@ -53,7 +53,7 @@ jobs:
|
||||
- name: Check trailing whitespace
|
||||
if: always()
|
||||
run: |
|
||||
find . -name '*.[ch]' -exec perl -pi -e 's/[ \t]+$//' {} +
|
||||
find . -type f -regex '.*\.\(c\|h\|sql\|sql\.in\)$' -exec perl -pi -e 's/[ \t]+$//' {} +
|
||||
git diff --exit-code
|
||||
|
||||
- name: Check code formatting
|
||||
|
Loading…
x
Reference in New Issue
Block a user