mirror of
https://github.com/hasherezade/bearparser
synced 2026-06-08 14:32:38 +00:00
eb06bdeb67
- Now it is more difficult to introduce new errors/warnings
19 lines
384 B
YAML
19 lines
384 B
YAML
name: Static analysis
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
|
|
- name: Install Cppcheck
|
|
run: |
|
|
sudo apt update
|
|
sudo apt --yes install cppcheck
|
|
|
|
- name: Static analysis
|
|
run: |
|
|
cppcheck --project=bearparser.cppcheck --error-exitcode=1 --enable=warning
|