add github workflow with coccinelle

This commit is contained in:
Boris Faure 2022-06-18 20:44:06 +02:00
parent 13ffb1de64
commit f1deb12784
Signed by: borisfaure
GPG Key ID: EAA9CD729F522998
1 changed files with 19 additions and 0 deletions

19
.github/workflows/coccinelle.yaml vendored Normal file
View File

@ -0,0 +1,19 @@
name: coccinelle
on: [push]
jobs:
coccinelle:
runs-on: ubuntu-22.04
steps:
- name: install coccinelle
run: |
sudo apt update
sudo apt upgrade -y
sudo apt install -y coccinelle
- name: Checkout
uses: actions/checkout@v3
with:
token: ${{ secrets.GIT_ACCESS_TOKEN }}
- name: coccinelle check
run: scripts/coccinelle/coccicheck.sh