We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
extra-args
1 parent 536d0c4 commit 3edc672Copy full SHA for 3edc672
.github/workflows/reusable-cpp-linter.yml
@@ -14,6 +14,10 @@ on:
14
description: "Additional arguments to pass to CMake"
15
default: ""
16
type: string
17
+ cpp-linter-extra-args:
18
+ description: "Extra arguments to pass to the cpp-linter"
19
+ default: "-std=c++17"
20
+ type: string
21
setup-z3:
22
description: "Whether to set up Z3"
23
default: false
@@ -78,7 +82,7 @@ jobs:
78
82
thread-comments: ${{ github.event_name == 'pull_request' && 'update' }}
79
83
step-summary: true
80
84
database: "build"
81
- extra-args: -std=c++17
85
+ extra-args: ${{ inputs.cpp-linter-extra-args }}
86
files-changed-only: ${{ inputs.files-changed-only }}
87
- name: Fail if linter found errors
88
if: steps.linter.outputs.checks-failed > 0
0 commit comments