generated from niwciu/Embeded_Project_Template
-
Notifications
You must be signed in to change notification settings - Fork 0
48 lines (46 loc) · 1.56 KB
/
run_cppcheck.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
name: Run cppcheck-action
on:
workflow_dispatch:
# push:
# branches: [main, develop]
# pull_request:
# branches: [main, develop]
jobs:
cppcheck-annotations_scr:
name: cppcheck-annotations /src
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Run cppcheck-annotation-action for src
uses: Konstantin343/[email protected]
with:
std: 'c99'
platform: 'unix64'
log-level: 'verbose'
sources: './src'
annotation-failures: 'warning'
# suppress: 'unusedFunction'
# annotation-level-default: 'error'
- name: Annotate lines with errors src
uses: yuzutech/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
title: 'Results of CppCheck src files'
input: 'annotations.json'
# - name: Run cppcheck-annotation-action for tests
# uses: Konstantin343/[email protected]
# with:
# std: 'c99'
# platform: 'unix64'
# log-level: 'verbose'
# sources: './test/template'
# annotation-failures: 'warning'
# # suppress: 'unusedFunction'
# # annotation-level-default: 'error'
# - name: Annotate lines with errors test_src
# uses: yuzutech/[email protected]
# with:
# repo-token: "${{ secrets.GITHUB_TOKEN }}"
# title: 'Results of CppCheck test lcd_hd44780 files'
# input: 'annotations.json'