Lint Checker #435
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Workflow to run cppchecks | |
on: | |
# enable pull request for debugging | |
# pull_request: | |
workflow_dispatch: | |
# Schedule runs daily | |
schedule: | |
- cron: '0 0 * * *' | |
name: Lint Checker | |
jobs: | |
lint-checker: | |
name: Lint Checker | |
runs-on: macos-latest | |
steps: | |
- name: Check out repository | |
uses: actions/[email protected] | |
- name: Install cppcheck | |
run: | | |
set -x -e | |
brew install cppcheck | |
cppcheck --version | |
- name: Run cppcheck | |
run: bash admin/run_cppcheck.sh src |