Skip to content

Merge pull request #48 from niwciu/develop #165

Merge pull request #48 from niwciu/develop

Merge pull request #48 from niwciu/develop #165

Workflow file for this run

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/lcd_hd44780'
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'