From 784aa7916e61c5f7af61bb93f4b1a4de9a491507 Mon Sep 17 00:00:00 2001 From: Sean Robinson Date: Fri, 4 Nov 2022 10:19:11 -0700 Subject: [PATCH] Use C++17 standard with clang-tidy in PR checks Needed for std::string_view. Signed-off-by: Sean Robinson --- .github/workflows/tidy-analysis-stage-01.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tidy-analysis-stage-01.yml b/.github/workflows/tidy-analysis-stage-01.yml index be4c8456..5019152b 100644 --- a/.github/workflows/tidy-analysis-stage-01.yml +++ b/.github/workflows/tidy-analysis-stage-01.yml @@ -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: |