mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-08-01 20:29:00 +00:00
Revert "CI: use 'git diff $commits' as a whole patchset to do checkpatch"
This reverts commit 9c4cdc5331.
If one PR is on a former master code base, using 'git diff $commits' would result in
abnormal checkpatch report sometimes. So revert it anyway.
This commit is contained in:
parent
f918be8d2a
commit
d7a5313aca
1 changed files with 2 additions and 1 deletions
3
.github/workflows/check.yml
vendored
3
.github/workflows/check.yml
vendored
|
|
@ -38,4 +38,5 @@ jobs:
|
|||
cd apps
|
||||
commits=`git log -1 --merges --pretty=format:%P | awk -F" " '{ print $1 ".." $2 }'`
|
||||
git log --oneline $commits
|
||||
git diff $commits | ../nuttx/tools/checkpatch.sh -
|
||||
echo "../nuttx/tools/checkpatch.sh -g $commits"
|
||||
../nuttx/tools/checkpatch.sh -g $commits
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue