From ed6503b9a3452c214232aba790033b62b0ffc11f Mon Sep 17 00:00:00 2001 From: chao an Date: Fri, 21 Jul 2023 14:25:57 +0800 Subject: [PATCH] ci/check: install format tool before run style check script Signed-off-by: chao an --- .github/workflows/check.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 1fb66b999a..b2ce7b9ccd 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -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