Skip to content

Commit

Permalink
squash! style checker: Update for CheriBSD
Browse files Browse the repository at this point in the history
- Check the style of the raw diff instead of each patch on the branch.
  • Loading branch information
bsdjhb committed Mar 27, 2024
1 parent 47216e3 commit 765b13e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/style.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ jobs:
- name: Run checker
run: |
sha=$(git merge-base ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }})
tools/build/checkstyle9.pl --github ${sha}..${{ github.event.pull_request.head.sha }} || true
git diff ${sha}..${{ github.event.pull_request.head.sha }} | tools/build/checkstyle9.pl --github - || true

0 comments on commit 765b13e

Please sign in to comment.