-
Notifications
You must be signed in to change notification settings - Fork 4
34 lines (33 loc) · 874 Bytes
/
main.yml
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
name: Pipeline
on: [pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Luacheck linter
uses: lunarmodules/luacheck@v1
- uses: JohnnyMorganz/stylua-action@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
version: latest
args: --check .
test:
runs-on: ubuntu-20.04
steps:
- name: Checkout Netrw
uses: actions/checkout@v3
with:
path: netrw.nvim
- name: Checkout Plenary
uses: actions/checkout@v3
with:
repository: nvim-lua/plenary.nvim
path: netrw.nvim/.tests/site/pack/deps/start/plenary.nvim
- uses: rhysd/action-setup-vim@v1
with:
neovim: true
- run: make test
working-directory: netrw.nvim
timeout-minutes: 1