-
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
6b2811e
commit dca0aa4
Showing
1 changed file
with
8 additions
and
1 deletion.
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 |
---|---|---|
|
@@ -21,13 +21,20 @@ jobs: | |
ls -la | ||
- name: Set up environment | ||
run: | | ||
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 | ||
pip install pre-commit | ||
sudo apt install uncrustify clang-tidy cppcheck | ||
- name: Run test | ||
run: | | ||
git config diff.renameLimit 999999 | ||
git fetch origin | ||
git diff --name-only origin/main origin/iec_efr32 | xargs pre-commit run --files > CodingConventionResult.log | ||
git diff --name-only origin/gen-firmware-on-host-runner origin/update-source-code-lib-iec60730 | xargs pre-commit run --files | ||
- name: Upload Result | ||
uses: actions/[email protected] | ||
with: | ||
|