From a8747eef6a6c73340071d3d8b27ba31f7797e61a Mon Sep 17 00:00:00 2001 From: Marc Jakobi Date: Tue, 11 Jun 2024 18:32:15 +0200 Subject: [PATCH] ci: use nvim-busted-action --- .github/workflows/tests.yml | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index d9a65a8..39766b1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,27 +16,7 @@ jobs: steps: - uses: actions/checkout@v3 - - run: date +%F > todays-date - - name: Restore cache for today's nightly. - uses: actions/cache@v2 - with: - path: _neovim - key: ${{ runner.os }}-x64-${{ hashFiles('todays-date') }} - - name: Setup neovim - uses: rhysd/action-setup-vim@v1 - with: - neovim: true - version: ${{ matrix.neovim_version }} - - - name: Setup Lua - uses: leso-kn/gh-actions-lua@master - with: - luaVersion: "5.1" - - - name: Setup Luarocks - uses: hishamhm/gh-actions-luarocks@master - with: - luarocksVersion: "3.11.0" - - name: Run tests - run: luarocks test --local + uses: nvim-neorocks/nvim-busted-action@v1 + with: + nvim_version: ${{ matrix.neovim_version }}