File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : CI
2+
23on :
34 push :
45 branches : [main]
1011 runs-on : ubuntu-latest
1112 steps :
1213 - uses : actions/checkout@v4
14+
15+ - name : Install system deps and LuaRocks packages
16+ run : |
17+ sudo apt-get update
18+ sudo apt-get install -y build-essential pkg-config \
19+ libreadline-dev libncurses5-dev libncursesw5-dev
20+ sudo apt-get install -y lua5.4 luarocks
21+ sudo luarocks install luassert
22+ sudo luarocks install luacheck || true
23+
1324 - name : StyLua
1425 uses : JohnnyMorganz/stylua-action@v4
1526 with :
@@ -20,10 +31,21 @@ jobs:
2031 runs-on : ubuntu-latest
2132 steps :
2233 - uses : actions/checkout@v4
34+
35+ - name : Install system deps and LuaRocks packages
36+ run : |
37+ sudo apt-get update
38+ sudo apt-get install -y build-essential pkg-config \
39+ libreadline-dev libncurses5-dev libncursesw5-dev
40+ sudo apt-get install -y lua5.4 luarocks
41+ sudo luarocks install luassert
42+ sudo luarocks install luacheck || true
43+
2344 - name : Install Neovim
2445 uses : rhysd/action-setup-vim@v1
2546 with :
2647 neovim : true
2748 version : stable
49+
2850 - name : Run tests
2951 run : ./scripts/test
You can’t perform that action at this time.
0 commit comments