Add format check to actions (#668)
This commit is contained in:
parent
4b5885e3c0
commit
66fbb33956
|
@ -114,3 +114,9 @@ jobs:
|
|||
# Execute tests defined by the CMake configuration.
|
||||
# See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
|
||||
run: ./test.sh -t
|
||||
|
||||
- name: Lint
|
||||
if: runner.os == 'Linux'
|
||||
working-directory: ${{env.GITHUB_WORKSPACE}}
|
||||
shell: bash
|
||||
run: ./format.sh && git diff --exit-code
|
||||
|
|
Loading…
Reference in New Issue