Skip to content

refactor: Updated PR workflow #12

refactor: Updated PR workflow

refactor: Updated PR workflow #12

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
lgtm_comment_body: ''
- if: steps.review.outputs.total_comments > 0
run: exit 1