-
-
Notifications
You must be signed in to change notification settings - Fork 5
39 lines (34 loc) · 827 Bytes
/
integration.yml
File metadata and controls
39 lines (34 loc) · 827 Bytes
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
38
39
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
luacheck:
runs-on: ubuntu-latest
steps:
- uses: lunarmodules/luacheck@v1.0.0
stylua:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: JohnnyMorganz/stylua-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
args: --color always --check lua/
tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Neovim
uses: rhysd/action-setup-vim@v1
with:
neovim: true
version: nightly
- name: Install luarocks + packages
run: |
sudo apt install -y luarocks
sudo luarocks install vusted
- name: Run tests
run: vusted tests --output=gtest