⬆️ Bump libs/Catch2 from 119a7bb
to 0321d2f
#273
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Clang-Tidy Review | |
on: | |
pull_request: | |
paths: | |
- '**/*.hpp' | |
- '**/*.cpp' | |
- 'libs/**' | |
- '.github/workflows/clang-tidy-review.yml' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone Repository | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Review code with Clang-Tidy | |
uses: ZedThree/clang-tidy-review@v0.20.0 | |
id: review | |
with: | |
apt_packages: 'libboost-all-dev,libtbb-dev' | |
cmake_command: > | |
cmake . -B build | |
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON | |
-DCDA_TUM_SIQAD_PLUGINS_TEST=ON | |
build_dir: build | |
config_file: '.clang-tidy' | |
exclude: 'libs/*' | |
split_workflow: true | |
- name: Make sure that the review file exists | |
id: check-review-output | |
uses: andstor/file-existence-action@v3.0.0 | |
with: | |
files: 'clang-tidy-review-output.json' | |
ignore_case: true | |
# Workaround to fix an issue with non-existing review artifacts in the review posting workflow | |
- name: Create empty review artifact | |
if: steps.check-review-output.outputs.files_exists == 'false' | |
uses: finnp/create-file-action@2.0.0 | |
env: | |
FILE_NAME: 'clang-tidy-review-output.json' | |
FILE_DATA: '{}' | |
- name: Upload review artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: clang-tidy-review | |
path: | | |
clang-tidy-review-output.json | |
clang-tidy-review-metadata.json |