Skip to content

Commit 116bde6

Browse files
ligurioigormunkin
authored andcommitted
ci: enable codespell
The patch enables codespell in GitHub workflow 'lint' by installing `codespell` using `pip` and renames job name and description. Reviewed-by: Maxim Kokryashkin <[email protected]> Reviewed-by: Sergey Kaplun <[email protected]> Signed-off-by: Igor Munkin <[email protected]>
1 parent 5c3f461 commit 116bde6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/lint.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ concurrency:
2727
cancel-in-progress: true
2828

2929
jobs:
30-
test-luacheck:
30+
test-lint:
3131
runs-on: [self-hosted, lightweight, Linux, x86_64]
32-
name: LuaJIT linters (luacheck, flake8)
32+
name: LuaJIT linters (luacheck, flake8, codespell)
3333
steps:
3434
- uses: actions/checkout@v3
3535
with:
@@ -44,6 +44,7 @@ jobs:
4444
sudo apt -y install cmake ninja-build lua5.1 luarocks
4545
sudo luarocks install luacheck
4646
sudo pip3 install flake8==6.1.0
47+
sudo pip3 install codespell==2.2.5
4748
# Set CMAKE_BUILD_PARALLEL_LEVEL environment variable to
4849
# limit the number of parallel jobs for build/test step.
4950
echo CMAKE_BUILD_PARALLEL_LEVEL=$(($(nproc) + 1)) | tee -a $GITHUB_ENV

0 commit comments

Comments
 (0)