From 6229f3e99a8256b48038d80fb22d36ecf498438b Mon Sep 17 00:00:00 2001 From: silabs-bingocth Date: Wed, 25 Sep 2024 18:46:32 +0700 Subject: [PATCH] Update coding_convention.yaml --- .github/workflows/coding_convention.yaml | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) diff --git a/.github/workflows/coding_convention.yaml b/.github/workflows/coding_convention.yaml index 9632befc..d33447a4 100644 --- a/.github/workflows/coding_convention.yaml +++ b/.github/workflows/coding_convention.yaml @@ -10,6 +10,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v4.1.7 + with: + ref: create-unit-test-functions-in-lib-iec60730 - name: Check working directory run: | pwd @@ -20,14 +22,7 @@ jobs: sudo apt install uncrustify clang-tidy cppcheck - name: Run test run: | - git diff --name-only main $BRANCH_NAME | pre-commit run --files > CodingConventionTool.log - - name: Upload Result - uses: actions/upload-artifact@v4.3.4 - with: - name: CodingConventionTool.log - path: . - warn: Output a warning but do not fail the action - retention-days: 90 + pre-commit run --files