Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 8dce4a2

Browse files
soburiDhruvaG2000
authored andcommitted
CI: use zephyr's checkpatch.pl
Use the checkpatch.pl included with Zephyr to perform the check. Signed-off-by: TOKITA Hiroshi <tokita.hiroshi@gmail.com>
1 parent 211d5dc commit 8dce4a2

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

‎.github/workflows/checkpatch.yml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,15 @@ jobs:
2020
runs-on: ubuntu-latest
2121
steps:
2222
- name: 'Calculate PR commits + 1'
23-
run: echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> $GITHUB_ENV
23+
run: |
24+
echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> $GITHUB_ENV
25+
wget https://raw.githubusercontent.com/zephyrproject-rtos/zephyr/refs/heads/main/scripts/checkpatch.pl
2426
- uses: actions/checkout@v4
2527
with:
2628
ref: ${{ github.event.pull_request.head.sha }}
2729
fetch-depth: ${{ env.PR_FETCH_DEPTH }}
2830
- name: Run checkpatch review
2931
uses: webispy/checkpatch-action@v9
32+
env:
33+
CHECKPATCH_COMMAND: perl ./checkpatch.pl
3034

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /