diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 103b18e..e2512c7 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -15,6 +15,12 @@ jobs: version: - stable - nightly + - v0.10.0 + - v0.10.4 + - v0.11.0 + - v0.11.1 + - v0.11.2 + - v0.11.3 runs-on: ${{ matrix.os }} steps: - name: Install Task @@ -57,4 +63,4 @@ jobs: - name: Run Tests run: | nvim --version - task tests + task test diff --git a/Taskfile.yml b/Taskfile.yml index 19cbc8f..c14d352 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -1,28 +1,23 @@ version: "3" tasks: lint: - desc: runs all linters - cmds: - - task: selene - - stylua --check . - - selene: - desc: runs lua linter(selene) + desc: run all linters cmds: - selene . + - stylua --check . - stylua: - desc: runs lua formatter - cmds: - - stylua . + format: + desc: run formatter + cmd: stylua . - tests: + test: desc: run all tests cmds: - | nvim --clean --headless \ -u ./scripts/minimal_init.lua \ - -c "lua MiniTest.run()" + -c "lua MiniTest.run()" \ + -c ":qa!" docgen: desc: generate vimhelp