3 # lint on c/cpp changes or workflow changes
14 - '.github/workflows/**.yml'
24 - '.github/workflows/**.yml'
30 - uses: actions/checkout@v2
31 - name: Install clang-format
33 sudo apt-get install clang-format-9 -qyy
35 - name: Run clang-format
37 source ./util/ci/lint.sh
40 CLANG_FORMAT: clang-format-9
45 - uses: actions/checkout@v2
48 sudo apt-get install clang-tidy-9 -qyy
49 source ./util/ci/common.sh
52 - name: Run clang-tidy
54 ./util/ci/clang-tidy.sh