Fix #59 by looking up config from the project dir, not the cwd #175
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] | |
| jobs: | |
| test: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macOS-latest] | |
| # TODO Reinstate "v0.10.4" once it works through mise again. | |
| neovim-version: ["v0.9.5", "stable", "nightly"] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Mise | |
| uses: jdx/mise-action@v2 | |
| - name: Cache | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| .test-config/nvim/pack | |
| key: nfnl-${{ hashFiles('script/setup-test-deps') }} | |
| restore-keys: nfnl- | |
| - name: Test | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: | | |
| mise run -t neovim@${{ matrix.neovim-version }} test |