-
Notifications
You must be signed in to change notification settings - Fork 11
37 lines (34 loc) · 1004 Bytes
/
ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: ci
on: [ push, pull_request ]
jobs:
tests:
name: unit tests
runs-on: ubuntu-latest
strategy:
matrix:
nvim-version: [ nightly ]
steps:
- uses: actions/checkout@v4
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: ${{ matrix.nvim-version }}
- name: Install plenary plugin
run: |
mkdir -p ~/.local/share/nvim/site/pack/test-workflow/start
git clone --depth=1 https://github.com/nvim-lua/plenary.nvim.git ~/.local/share/nvim/site/pack/test-workflow/start/plenary
ln -s . ~/.local/share/nvim/site/pack/test-workflow/start/neocodeium
- name: Run tests
run: |
nvim --version
make test
stylua:
name: stylua
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: JohnnyMorganz/stylua-action@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: latest
args: --check .