fix: expand paths #31
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: test | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths: | |
- '**.lua' | |
- '.github/workflows/*.yml' | |
pull_request: | |
branches: | |
- main | |
jobs: | |
integration: | |
strategy: | |
matrix: | |
version: [ "stable", "nightly" ] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
path: ./repo | |
- name: Checkout plenary.nvim | |
uses: actions/checkout@v3 | |
with: | |
repository: nvim-lua/plenary.nvim | |
path: ./plenary.nvim | |
- name: Setup neovim | |
uses: rhysd/action-setup-vim@v1 | |
with: | |
neovim: true | |
version: ${{ matrix.version }} | |
- name: Setup lua | |
uses: leafo/gh-actions-lua@v8 | |
with: | |
luaVersion: luajit-2.1.0-beta3 | |
- name: Setup luarocks | |
uses: leafo/gh-actions-luarocks@v4 | |
- name: Setup tools | |
shell: bash | |
run: | | |
luarocks --lua-version=5.1 install vusted | |
- name: Run test | |
working-directory: ./repo | |
shell: bash | |
run: make |