-
Notifications
You must be signed in to change notification settings - Fork 26
31 lines (27 loc) · 835 Bytes
/
ci.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
name: CI
on: [push, pull_request]
jobs:
tests:
name: CI
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Install Dependencies
run: |
sudo apt-get update
sudo add-apt-repository universe
sudo apt install libfuse2
# install neovim
wget https://github.com/neovim/neovim/releases/download/nightly/nvim.appimage
chmod u+x nvim.appimage
sudo mv nvim.appimage /usr/bin/nvim
# install stylua
wget https://github.com/JohnnyMorganz/StyLua/releases/download/v0.17.0/stylua-linux-x86_64.zip
unzip stylua-linux-x86_64.zip
sudo mv stylua /usr/bin/stylua
- name: Setup
run: make prepare
- name: Lint
run: make lint
- name: Test
run: make test