Somehow fix some errors which happen with really broken imports. #2380
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: Tests | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
ci: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: | |
- macos-latest | |
- ubuntu-latest | |
nvim-version: | |
- stable | |
- nightly | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Install Neovim | |
uses: rhysd/action-setup-vim@v1 | |
with: | |
neovim: true | |
version: ${{ matrix.nvim-version }} | |
- uses: Julian/setup-lean@v1 | |
- uses: extractions/setup-just@v2 | |
- name: Run tests | |
run: just test | |
env: | |
TEST_SEQUENTIAL: 1 | |
release: | |
if: github.event_name == 'push' && startsWith(github.event.ref, 'refs/tags/v') | |
needs: ci | |
runs-on: ubuntu-latest | |
permissions: | |
attestations: write | |
contents: write | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Upload to LuaRocks | |
uses: nvim-neorocks/luarocks-tag-release@v7 | |
env: | |
LUAROCKS_API_KEY: ${{ secrets.LUAROCKS_API_KEY }} | |
- name: Create a GitHub Release | |
uses: softprops/action-gh-release@v2 | |
with: | |
generate_release_notes: true |