1111
1212jobs :
1313 cpp-linter :
14+ name : cpp-linter job
1415 runs-on : windows-latest
1516
16- strategy :
17- matrix :
18- clang-version : ['7', '8', '9','10', '11', '12', '13', '14', '15', '16', '17']
19- repo : ['cpp-linter/cpp-linter']
20- branch :
21- - ${{ github.event_name == 'workflow_dispatch' && inputs.branch || 'hide-reuse-pr-reviews' }}
22- fail-fast : false
17+ # strategy:
18+ # matrix:
19+ # clang-version: ['17'] # ['7', '8', '9','10', '11', '12', '13', '14', '15', '16', '17']
20+ # repo: ['cpp-linter/cpp-linter']
21+ # branch:
22+ # - ${{ github.event_name == 'workflow_dispatch' && inputs.branch || 'hide-reuse-pr-reviews' }}
23+ # fail-fast: false
2324
2425 steps :
2526
@@ -32,10 +33,10 @@ jobs:
3233 python-version : 3.x
3334
3435 - name : Install workflow deps
35- run : python -m pip install clang-tools git+https://github.com/${{ matrix.repo }}/@${{ matrix.branch }}
36+ run : python -m pip install clang-tools git+https://github.com/cpp-linter/cpp-linter/
3637
3738 - name : Install clang-tools
38- run : clang-tools --install ${{ matrix.clang-version }} --directory ${{ runner.temp }}/llvm
39+ run : clang-tools --install 17 --directory ${{ runner.temp }}/llvm
3940
4041 - name : Setup VS dev env
4142 uses : TheMrMilchmann/setup-msvc-dev@v3
@@ -66,10 +67,11 @@ jobs:
6667 -V=${{ runner.temp }}/llvm
6768 -f=false
6869 --extra-arg="-std=c++14 -Wall"
69- --thread-comments=${{ matrix.clang-version == '17' && 'update' }}
70- -a=${{ matrix.clang-version == '17' }}
71- --tidy-review=${{ matrix.clang-version == '17' }}
72- --format-review=${{ matrix.clang-version == '17' }}
70+ --thread-comments=update
71+ -a=false
72+ --tidy-review=17
73+ --format-review=17
74+ --step-summary=true
7375
7476 - name : Fail fast?!
7577 if : steps.linter.outputs.checks-failed > 0
0 commit comments