Skip to content

Commit 629bbbf

Browse files
committed
install clang-tidy with sudo
1 parent 43df827 commit 629bbbf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/lint.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,15 @@ jobs:
3939
fetch-depth: 0
4040
submodules: recursive
4141

42+
- name: Install necessary tools
43+
run: |
44+
sudo apt-get install -y clang-tidy
45+
4246
- name: Build
4347
run: |
4448
cmake -B build
4549
cmake --build build -j4
4650
4751
- name: Tidy
4852
run: |
49-
apt-get install -y clang-tidy
5053
run-clang-tidy -p build -j4 -header-filter='.*'

0 commit comments

Comments
 (0)