aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/tidy-review.yml
blob: a4bc8d976560e59bb9cf0823add738b3a0a2265e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: clang-tidy-review

on:
  pull_request:
    branches:
      - master

jobs:
  clang-tidy-review:
    runs-on: ubuntu-latest

    steps:
    - uses: actions/checkout@v3

    - uses: ZedThree/clang-tidy-review@v0.13.0
      id: review
      with:
        lgtm_comment_body: ''
        build_dir: build
        cmake_command: cmake . -B build -DCMAKE_EXPORT_COMPILE_COMMANDS=on
        split_workflow: true

    - uses: ZedThree/clang-tidy-review/upload@v0.13.0