ci: enable spelling checks (via codespell)

This commit is contained in:
Lars Kruse 2025-05-02 12:40:33 +02:00 committed by Xiang Xiao
parent 1efeb39da0
commit 7088d2ee91

View File

@ -41,9 +41,9 @@ jobs:
echo "::add-matcher::nuttx/.github/nxstyle.json" echo "::add-matcher::nuttx/.github/nxstyle.json"
python3 -m venv .venv python3 -m venv .venv
source .venv/bin/activate source .venv/bin/activate
pip install cmake-format black isort flake8 pip install codespell cmake-format black isort flake8
cd nuttx cd nuttx
commits="${{ github.event.pull_request.base.sha }}..HEAD" commits="${{ github.event.pull_request.base.sha }}..HEAD"
git log --oneline $commits git log --oneline $commits
echo "../nuttx/tools/checkpatch.sh -u -m -g $commits" echo "../nuttx/tools/checkpatch.sh -c -u -m -g $commits"
../nuttx/tools/checkpatch.sh -u -m -g $commits ../nuttx/tools/checkpatch.sh -c -u -m -g $commits