[Tarantool-patches] [PATCH luajit 4/4][v2] ci: enable codespell
Maxim Kokryashkin
m.kokryashkin at tarantool.org
Thu Oct 12 13:45:13 MSK 2023
Hi, Sergey!
Thanks for the patch!
LGTM
--
Best regards,
Maxim Kokryashkin
>Среда, 11 октября 2023, 19:55 +03:00 от Sergey Bronnikov via Tarantool-patches <tarantool-patches at dev.tarantool.org>:
>
>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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.tarantool.org/pipermail/tarantool-patches/attachments/20231012/01ce98bc/attachment.htm>
More information about the Tarantool-patches
mailing list