ci/check: install format tool before run style check script

Signed-off-by: chao an <anchao@xiaomi.com>
This commit is contained in:
chao an 2023-07-21 14:25:57 +08:00 committed by Xiang Xiao
parent 0b01340aec
commit ed6503b9a3

View File

@ -39,6 +39,7 @@ jobs:
- name: Check Pull Request
run: |
echo "::add-matcher::nuttx/.github/nxstyle.json"
pip install cmake-format
cd nuttx
commits="${{ github.event.pull_request.base.sha }}..HEAD"
git log --oneline $commits