Debian Codegraph @

.github/workflows/ci-clang-scan.yml

raw
1 name: clang-scan
2
3 on:
4 push:
5 branches: [ '**' ]
6 pull_request:
7 branches: [ '**' ]
8
9 permissions:
10 contents: read
11
12 jobs:
13 build:
14
15 runs-on: ci-clang-scan
16 if: ${{ github.repository != 'intel/pcm' }}
17
18 steps:
19 - name: Harden Runner
20 uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1
21 with:
22 egress-policy: audit
23
24 - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
25 with:
26 submodules: recursive
27 - name: Configure CMake
28 run: |
29 cmake --version
30 rm -rf ${{ github.workspace }}/build
31 scan-build cmake -B ${{ github.workspace }}/build
32 - name: Scan build
33 run: |
34 cd ${{ github.workspace }}/build
35 scan-build --exclude src/simdjson --status-bugs make -j