chore: update tasks, run tests on all recent versions

This commit is contained in:
Olexandr Smirnov 2025-08-27 21:12:06 +03:00
parent 09696900a5
commit 53ab4274c2
No known key found for this signature in database
2 changed files with 15 additions and 14 deletions

View file

@ -15,6 +15,12 @@ jobs:
version: version:
- stable - stable
- nightly - nightly
- v0.10.0
- v0.10.4
- v0.11.0
- v0.11.1
- v0.11.2
- v0.11.3
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
steps: steps:
- name: Install Task - name: Install Task
@ -57,4 +63,4 @@ jobs:
- name: Run Tests - name: Run Tests
run: | run: |
nvim --version nvim --version
task tests task test

View file

@ -1,28 +1,23 @@
version: "3" version: "3"
tasks: tasks:
lint: lint:
desc: runs all linters desc: run all linters
cmds:
- task: selene
- stylua --check .
selene:
desc: runs lua linter(selene)
cmds: cmds:
- selene . - selene .
- stylua --check .
stylua: format:
desc: runs lua formatter desc: run formatter
cmds: cmd: stylua .
- stylua .
tests: test:
desc: run all tests desc: run all tests
cmds: cmds:
- | - |
nvim --clean --headless \ nvim --clean --headless \
-u ./scripts/minimal_init.lua \ -u ./scripts/minimal_init.lua \
-c "lua MiniTest.run()" -c "lua MiniTest.run()" \
-c ":qa!"
docgen: docgen:
desc: generate vimhelp desc: generate vimhelp