chore(master): release 0.2.1 #8
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: Run Tests | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| pull_request: | |
| branches: | |
| - main | |
| - master | |
| workflow_dispatch: | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-22.04, windows-latest, macos-latest] | |
| nvim-version: ['stable', 'nightly'] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Install Neovim | |
| uses: rhysd/action-setup-vim@v1 | |
| with: | |
| neovim: true | |
| version: ${{ matrix.nvim-version }} | |
| - name: Install dependencies (Ubuntu) | |
| if: runner.os == 'Linux' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y curl | |
| - name: Install dependencies (macOS) | |
| if: runner.os == 'macOS' | |
| run: brew install curl | |
| - name: Install dependencies (Windows) | |
| if: runner.os == 'Windows' | |
| run: choco install curl | |
| - name: Cache test dependencies | |
| uses: actions/cache@v4 | |
| with: | |
| path: test/.deps | |
| key: test-deps-luaunit-${{ runner.os }} | |
| - name: Run tests | |
| run: make test | |