Skip to content

Commit 2f0825f

Browse files
committed
chore: install clang-format in github action
1 parent d2322dc commit 2f0825f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/c-cpp.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v2
1717
- name: apt
18-
run: sudo apt-get install g++ cmake lcov libboost-all-dev
18+
run: sudo apt-get install g++ cmake lcov libboost-all-dev clang-format
1919
- name: submodule
2020
run: git submodule update --init --recursive
2121
- name: lint

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ addons:
99
packages: clang-format colordiff lcov libboost-all-dev
1010

1111
script:
12-
- ./linter.sh
12+
- bash linter.sh
1313
- ./build.sh -t
1414
- ./build.sh -c
1515

0 commit comments

Comments
 (0)