aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/lint.yml2
-rw-r--r--Makefile6
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 7c0d9133..ce14ade8 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -18,7 +18,7 @@ jobs:
sudo luarocks install luacheck
- name: Run luacheck
run: |
- sudo make lint
+ luacheck lua/* test/*
style-lint:
runs-on: [ubuntu-latest]
steps:
diff --git a/Makefile b/Makefile
index 6f3c6db6..5b3f0b17 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,10 @@
test:
sh ./scripts/run_test.sh
lint:
+ @echo "\nRunning luacheck\n"
luacheck lua/* test/*
-
-style-lint:
+ @echo "\nRunning stylua\n"
stylua --check .
-.PHONY: test lint style-lint
+.PHONY: test lint