chore(main): release 1.5.0 #233
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
| name: Test | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-22.04 | |
| strategy: | |
| matrix: | |
| nvim_version: | |
| - v0.10.2 | |
| - stable | |
| - nightly | |
| steps: | |
| - uses: actions/checkout@v4 | |
| # TODO: Revert to gh-actions-lua when it's fixed to be up-to-date, and | |
| # remove unnecessary `sudo` in installing test dependencies. | |
| - name: Install luarocks | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y lua5.1 luarocks | |
| # - uses: leafo/gh-actions-lua@v11 | |
| # with: | |
| # luaVersion: "luajit-openresty" | |
| # - uses: leafo/gh-actions-luarocks@v5 | |
| - name: Install test dependencies in Luarocks | |
| run: | | |
| sudo luarocks --lua-version=5.1 install fennel | |
| sudo luarocks --lua-version=5.1 install vusted | |
| - name: Install cargo for parinfer-rust dependent test | |
| uses: moonrepo/setup-rust@v1 | |
| - uses: rhysd/action-setup-vim@v1 | |
| id: vim | |
| with: | |
| neovim: true | |
| version: ${{ matrix.nvim_version }} | |
| - name: Run tests | |
| env: | |
| VUSTED_EXTRA_FLAGS: "--defer-print --suppress-pending" | |
| VUSTED_EXTRA_ARGS: "" | |
| run: | | |
| make -j build | |
| make test |