3 # lint on c/cpp changes or workflow changes
14 - '.github/workflows/**.yml'
24 - '.github/workflows/**.yml'
29 # runs-on: ubuntu-20.04
31 # - uses: actions/checkout@v3
32 # - name: Install clang-format
35 # sudo apt-get install -y clang-format-9
37 # - name: Run clang-format
39 # source ./util/ci/clang-format.sh
42 # CLANG_FORMAT: clang-format-9
47 - uses: actions/checkout@v3
50 source ./util/ci/common.sh
51 install_linux_deps clang-tidy-9
53 - name: Run clang-tidy
55 ./util/ci/clang-tidy.sh