Skip to content

Commit 6fad68e

Browse files
committed
ci: run lint inside CI
1 parent 869986c commit 6fad68e

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,4 +60,12 @@ jobs:
6060
run: |
6161
task test
6262
task test_release
63-
task test_install
63+
task test_install
64+
65+
- name: Lint
66+
if: ${{ matrix.os == 'ubuntu-20.04' && matrix.compiler == 'gcc' }}
67+
run: |
68+
# TODO add to setup-cpp
69+
python3 -m pip install --user cmakelint cmake-format
70+
71+
task lint

0 commit comments

Comments
 (0)