Skip to content

Update coding_convention.yaml #6

Update coding_convention.yaml

Update coding_convention.yaml #6

name: Coding Convention
on:
push:
env:
SECURITY: APP_SECURE=false
COMMAND: all
COMPONENT: all
jobs:
job1:
name: Check coding convention
runs-on: ubuntu-20.04
steps:
- name: Check working directory
run: |
pwd
ls -la
- name: Set up environment
run: |
pip install pre-commit
sudo apt install uncrustify clang-tidy cppcheck
- name: Run test
run: |
pre-commit run --files > CodingConventionTool.log
- name: Upload Result
uses: actions/[email protected]
with:
name: CodingConventionTool.log
path: .
warn: Output a warning but do not fail the action
retention-days: 90