Skip to content

use linux for ci

use linux for ci #2

name: clang-tidy-review
# You can be more specific, but it currently only works on pull requests
on:
pull_request:
push:
branches:
- clang-format
# - develop
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Optionally generate compile_commands.json
- uses: ZedThree/[email protected]
id: review
# Uploads an artefact containing clang_fixes.json
- uses: ZedThree/clang-tidy-review/[email protected]
id: upload-review
# If there are any comments, fail the check
- if: steps.review.outputs.total_comments > 0
run: exit 1