Skip to content

Commit

Permalink
Update coding_convention.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
silabs-bingocth authored Sep 25, 2024
1 parent 2cb825e commit 7b06cae
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/coding_convention.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: Coding Convention
on:
push:
env:
SECURITY: APP_SECURE=false
COMMAND: all
COMPONENT: all
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}
jobs:
job1:
name: Check coding convention
Expand All @@ -22,7 +20,7 @@ jobs:
sudo apt install uncrustify clang-tidy cppcheck
- name: Run test
run: |
pre-commit run --files > CodingConventionTool.log
git diff --name-only main $BRANCH_NAME | pre-commit run --files > CodingConventionTool.log
- name: Upload Result
uses: actions/[email protected]
with:
Expand Down

0 comments on commit 7b06cae

Please sign in to comment.