forked from ArtificialAmateur/cpp-linter-action
-
Notifications
You must be signed in to change notification settings - Fork 2
/
action.yml
31 lines (30 loc) · 937 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: C/C++ code linter (clang-tidy, clang-format, and cppcheck)
description: Automatically checks pull requests changes with clang-tidy, clang-format, and cppcheck and posts the comment with result.
author: ArtificialAmateur
branding:
icon: alert-circle
color: green
inputs:
build_path:
description: 'Path to executable'
required: true
make_options:
description: 'Makefile options to be used by clang-tidy'
required: false
ignore_files:
description: 'A regex which clang-tidy uses to ignore files'
required: false
header_filter:
description: 'Header filter regex to be used by clang-tidy'
required: false
default: '.*'
config_file:
description: 'path to configuration file'
required: false
default: '.clang-tidy'
cppcheck_options:
description: 'Extra options to pass to cppcheck, separated by spaces'
required: false
runs:
using: 'docker'
image: 'Dockerfile'