Skip to content

Make 'just scratch' set nofile so the scratch buffer doesn't prompt t… #2328

Make 'just scratch' set nofile so the scratch buffer doesn't prompt t…

Make 'just scratch' set nofile so the scratch buffer doesn't prompt t… #2328

Workflow file for this run

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
- 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
- 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