2022-06-18 11:44:06 -07:00
|
|
|
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:
|
2022-06-18 12:05:00 -07:00
|
|
|
token: ${{ github.token }}
|
2022-06-18 11:44:06 -07:00
|
|
|
- name: coccinelle check
|
|
|
|
run: scripts/coccinelle/coccicheck.sh
|