mirror of
https://github.com/javalsai/lidm.git
synced 2025-08-30 09:58:00 +02:00
chore: organize and parallelize some checks
This commit is contained in:
2
.github/workflows/check.yml
vendored
2
.github/workflows/check.yml
vendored
@@ -26,7 +26,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
packages: "shellcheck"
|
packages: "shellcheck"
|
||||||
version: 1.0
|
version: 1.0
|
||||||
- run: find . -type f -name '*.sh' -not -path './assets/pkg/aur/*/src/*' | xargs shellcheck
|
- run: git ls-files "*.sh" "*/PKGBUILD" | xargs shellcheck --shell=bash
|
||||||
|
|
||||||
clangcheck:
|
clangcheck:
|
||||||
name: Clang
|
name: Clang
|
||||||
|
8
Makefile
8
Makefile
@@ -134,10 +134,12 @@ install-service-s6-etc:
|
|||||||
|
|
||||||
pre-commit:
|
pre-commit:
|
||||||
codespell
|
codespell
|
||||||
prettier --write "**/*.md"
|
prettier -c "**/*.md"
|
||||||
find . -type f -name '*.sh' -not -path './assets/pkg/aur/*/src/*' | xargs shellcheck
|
git ls-files "*.sh" "*/PKGBUILD" | xargs shellcheck --shell=bash
|
||||||
clang-format -i $$(git ls-files "*.c" "*.h")
|
clang-format -i $$(git ls-files "*.c" "*.h")
|
||||||
clang-tidy -p . $$(git ls-files "*.c" "*.h")
|
git ls-files -z "*.h" | \
|
||||||
|
parallel -j$$(nproc) -q0 --no-notice --will-cite --tty clang-tidy --quiet |& \
|
||||||
|
grep -v "warnings generated." || true
|
||||||
|
|
||||||
print-version:
|
print-version:
|
||||||
@echo $(VERSION)
|
@echo $(VERSION)
|
||||||
|
Reference in New Issue
Block a user