-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e3e8270
commit 244d366
Showing
1 changed file
with
8 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,27 +13,6 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
with: | ||
ref: update-source-code-lib-iec60730 | ||
- name: Copy coding convention tool | ||
run: | | ||
cd .. | ||
pwd | ||
ls -la | ||
cd IEC60730_Libs | ||
ls -la | ||
git clone $REPO_LINK | ||
ls -la | ||
cp ./tools/.clang-format . | ||
cp ./tools/.clang-tidy . | ||
cp ./tools/.codespell/.codespellrc . | ||
cp ./tools/.codespell/exclude-file.txt . | ||
cp ./tools/.codespell/ignore-words.txt . | ||
ls -la | ||
cd IEC60730_Libs | ||
ls -la | ||
- name: Check working directory | ||
run: | | ||
pwd | ||
|
@@ -45,10 +24,11 @@ jobs: | |
- name: Run test | ||
run: | | ||
git fetch origin | ||
git diff --name-only origin/gen-firmware-on-host-runner origin/update-source-code-lib-iec60730 | xargs pre-commit run --files | ||
|
||
|
||
|
||
git diff --name-only origin/gen-firmware-on-host-runner origin/update-source-code-lib-iec60730 | xargs pre-commit run --files > CodingConventionResult.log | ||
- name: Upload Result | ||
uses: actions/[email protected] | ||
with: | ||
name: CodingConventionResult.log | ||
path: . | ||
warn: Output a warning but do not fail the action | ||
retention-days: 90 |