Skip to content

Commit

Permalink
revert final job and rename to cppcheck-daily
Browse files Browse the repository at this point in the history
Signed-off-by: kminoda <[email protected]>
  • Loading branch information
kminoda committed Jun 6, 2024
1 parent 6890d94 commit 2ed692b
Showing 1 changed file with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: cppcheck-monitor
name: cppcheck-daily

on:
schedule:
- cron: 0 0 * * *
workflow_dispatch:

jobs:
cppcheck-monitor:
cppcheck-daily:
runs-on: ubuntu-latest

steps:
Expand All @@ -33,6 +33,7 @@ jobs:
- name: Run Cppcheck on all files
continue-on-error: true
id: cppcheck
run: |
cppcheck --enable=all --inconclusive --check-level=exhaustive --error-exitcode=1 --xml . 2> cppcheck-report.xml
shell: bash
Expand All @@ -52,3 +53,7 @@ jobs:
with:
name: cppcheck-report
path: cppcheck-report.xml

- name: Fail the job if Cppcheck failed
if: steps.cppcheck.outcome == 'failure'
run: exit 1

0 comments on commit 2ed692b

Please sign in to comment.