Skip to content

Commit

Permalink
Use C++17 standard with clang-tidy in PR checks
Browse files Browse the repository at this point in the history
Needed for std::string_view.

Signed-off-by: Sean Robinson <[email protected]>
  • Loading branch information
skrobinson committed Nov 4, 2022
1 parent ed2953a commit 784aa79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tidy-analysis-stage-01.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
run: mkdir clang-tidy-result

- name: Analyze
run: git diff -U0 HEAD^ | clang-tidy-diff-12.py -p1 -path build -extra-arg=-Iinclude -export-fixes clang-tidy-result/fixes.yml
run: git diff -U0 HEAD^ | clang-tidy-diff-12.py -p1 -path build -extra-arg=-Iinclude -extra-arg=-std=c++17 -export-fixes clang-tidy-result/fixes.yml

- name: Save PR metadata
run: |
Expand Down

0 comments on commit 784aa79

Please sign in to comment.