Skip to content

feat: Added clang tidy to PR #7

feat: Added clang tidy to PR

feat: Added clang tidy to PR #7

name: Static analysis
on: pull_request
jobs:
clang-tidy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.TOKEN }}
- uses: ZedThree/[email protected]
id: review
with:
apt_packages: liblapack-dev
cmake_command: cmake . -DCMAKE_EXPORT_COMPILE_COMMANDS=on
- uses: ZedThree/clang-tidy-review/[email protected]
id: upload-review
- if: steps.review.outputs.total_comments > 0
run: exit 1