Skip to content

Commit dd547fc

Browse files
committed
switch to dev branch
1 parent 3f86baa commit dd547fc

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/cpp-lint-package.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ on:
55
inputs:
66
branch:
77
description: 'which branch to test'
8-
default: 'main'
8+
default: 'fix-test-coverage'
99
required: true
10+
pull_request:
1011

1112
jobs:
1213
cpp-linter:
@@ -16,7 +17,8 @@ jobs:
1617
matrix:
1718
clang-version: ['9','10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20']
1819
repo: ['cpp-linter/cpp-linter']
19-
branch: ['${{ inputs.branch }}']
20+
branch:
21+
- ${{ github.event_name == 'workflow_dispatch' && inputs.branch || 'fix-test-coverage' }}
2022
fail-fast: false
2123

2224
steps:
@@ -66,6 +68,8 @@ jobs:
6668
--extra-arg="-std=c++14 -Wall"
6769
--thread-comments=${{ matrix.clang-version == '17' && 'update' }}
6870
-a=${{ matrix.clang-version == '17' }}
71+
--tidy-review=${{ matrix.clang-version == '17' }}
72+
--format-review=${{ matrix.clang-version == '17' }}
6973
7074
- name: Fail fast?!
7175
if: steps.linter.outputs.checks-failed > 0

0 commit comments

Comments
 (0)