Lint Checker #1121
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: | |
# 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/checkout@v3.6.0 | |
- name: Install cppcheck | |
run: | | |
set -x -e | |
brew install cppcheck | |
cppcheck --version | |
- name: Run cppcheck | |
run: bash admin/run_cppcheck.sh src |