Merge pull request #133 from francescarpi/develop #594
This file contains hidden or 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
| --- | |
| on: [push, pull_request] | |
| name: default | |
| jobs: | |
| tests: | |
| name: tests | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| neovim_version: [0.10.4, 0.11.0, 0.12.0] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install Neovim ${{ matrix.neovim_version }} | |
| run: | | |
| curl -LO https://github.com/neovim/neovim/releases/download/v${{ matrix.neovim_version }}/nvim-linux-x86_64.appimage | |
| chmod u+x nvim-linux-x86_64.appimage | |
| ./nvim-linux-x86_64.appimage --appimage-extract | |
| sudo mv squashfs-root / && sudo ln -s /squashfs-root/AppRun /usr/bin/nvim | |
| nvim --version | |
| - name: Check out required packages | |
| run: | | |
| mkdir packages | |
| git clone https://github.com/nvim-lua/plenary.nvim.git packages/plenary.nvim | |
| git clone https://github.com/nvim-tree/nvim-web-devicons.git packages/nvim-web-devicons | |
| - name: Run test | |
| run: make | |
| lint: | |
| name: lint | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6 | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install luarocks | |
| sudo luarocks install luacheck | |
| - name: Run lint | |
| run: make lint |