Skip to content

Commit 6651c19

Browse files
committed
add -std=c++23 in cpp-linter.yml
1 parent dbcbdf2 commit 6651c19

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/cpp-linter.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,10 @@ on:
2626
branches:
2727
- main
2828

29+
permissions:
30+
contents: read
31+
pull-requests: write
32+
2933
jobs:
3034
cpp-linter:
3135
runs-on: ubuntu-24.04
@@ -57,8 +61,9 @@ jobs:
5761
thread-comments: true
5862
ignore: 'build|cmake_modules|ci'
5963
database: build
64+
verbosity: 'debug'
6065
# need '-fno-builtin-std-forward_like', see https://github.com/llvm/llvm-project/issues/101614
61-
extra-args: '-I$PWD/src -I$PWD/build/src -fno-builtin-std-forward_like'
66+
extra-args: '-std=c++23 -I$PWD/src -I$PWD/build/src -fno-builtin-std-forward_like'
6267
- name: Fail fast?!
6368
if: steps.linter.outputs.checks-failed != 0
6469
run: |

0 commit comments

Comments
 (0)