aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorSteven Arcangeli <506791+stevearc@users.noreply.github.com>2023-08-31 10:51:22 -0700
committerGitHub <noreply@github.com>2023-08-31 10:51:22 -0700
commit143fbdb6b72d2eeccfcdbad305c20f4a06af3633 (patch)
treebbff8d2afbcb36fde9dcfd8f6361b1ded1efb753 /Makefile
parenteb3ebb6d2d114f6476a8f8d21d74f99c6d231a53 (diff)
ci: improve consistency of CI workflows (#23)
* ci: don't double-run tests on PRs * ci: always run document generation and lint
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 6854c01..7594e51 100644
--- a/Makefile
+++ b/Makefile
@@ -4,18 +4,19 @@ all: doc lint test
doc: scripts/nvim_doc_tools
python scripts/main.py generate
+ python scripts/main.py lint
test:
./run_tests.sh
+lint: scripts/nvim-typecheck-action fastlint
+ ./scripts/nvim-typecheck-action/typecheck.sh lua
+
fastlint: scripts/nvim_doc_tools
python scripts/main.py lint
luacheck lua tests --formatter plain
stylua --check lua tests
-lint: scripts/nvim-typecheck-action fastlint
- ./scripts/nvim-typecheck-action/typecheck.sh lua
-
scripts/nvim_doc_tools:
git clone https://github.com/stevearc/nvim_doc_tools scripts/nvim_doc_tools