Ajouter 'clint.yml'
This commit is contained in:
parent
cab80a3212
commit
9a23f7f0e3
18
clint.yml
Normal file
18
clint.yml
Normal file
@ -0,0 +1,18 @@
|
||||
name: Clint
|
||||
on: [push]
|
||||
jobs:
|
||||
clint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v3
|
||||
- name: Set up Python 3.11
|
||||
run: |
|
||||
apt update
|
||||
apt install -y python3 python3-pip
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
python3 -m pip install --upgrade pip
|
||||
pip install cpplint
|
||||
- name: Analysing the code with ansible-lint
|
||||
run: find . -type f -name "*.c" -o -name "*.cpp" | xargs cpplint
|
Loading…
x
Reference in New Issue
Block a user