Files
wlan-ap/.github/workflows/static_analysis.yml
John Crispin 50d107b07c github/worflow: enable on pending and staging-* branches
Enable the github build workflow on the pending and staging branches.

Signed-off-by: John Crispin <john@phrozen.org>
2020-07-10 09:45:27 +02:00

18 lines
459 B
YAML

name: Run static analysis
on:
push:
branches: [ trunk, pending, staging-* ]
pull_request:
branches: [ trunk, pending, staging-* ]
jobs:
static_analysis:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install cppcheck
run: sudo apt install -y cppcheck
- name: Run cppcheck
run: cppcheck --error-exitcode=1 -j 2 --suppressions-list=.github/files/supressions_list.txt feeds/wlan-ap/opensync/src