[Tarantool-patches] [PATCH luajit 4/4][v2] ci: enable codespell

Sergey Bronnikov estetus at gmail.com
Wed Oct 11 19:52:29 MSK 2023


From: Sergey Bronnikov <sergeyb at tarantool.org>

The patch adds a GitHub Action, that installs codespell, and adds a job,
that runs codespell using CMake target "LuaJIT-codespell".
---
 .github/workflows/lint.yml | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 758ff33e..8147b053 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -29,7 +29,7 @@ concurrency:
 jobs:
   test-luacheck:
     runs-on: [self-hosted, lightweight, Linux, x86_64]
-    name: LuaJIT linters (luacheck, flake8)
+    name: LuaJIT linters (luacheck, flake8, codespell)
     steps:
       - uses: actions/checkout at v3
         with:
@@ -44,6 +44,7 @@ jobs:
           sudo apt -y install cmake ninja-build lua5.1 luarocks
           sudo luarocks install luacheck
           sudo pip3 install flake8==6.1.0
+          sudo pip3 install codespell==2.2.5
           # Set CMAKE_BUILD_PARALLEL_LEVEL environment variable to
           # limit the number of parallel jobs for build/test step.
           echo CMAKE_BUILD_PARALLEL_LEVEL=$(($(nproc) + 1)) | tee -a $GITHUB_ENV
-- 
2.34.1



More information about the Tarantool-patches mailing list