-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (38 loc) · 1 KB
/
typecheck.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
35
36
37
38
39
40
41
42
43
name: lua_ls-typecheck
on:
pull_request: ~
push:
branches:
- '*'
workflow_dispatch:
jobs:
build:
name: Type Check Code Base
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
- name: Checkout dependency neodev
uses: actions/checkout@v3
with:
repository: "folke/neodev.nvim"
path: "deps/neodev.nvim"
- name: Checkout neovim for type annotations
uses: actions/checkout@v3
with:
repository: "neovim/neovim"
path: "deps/neovim"
- uses: leafo/gh-actions-lua@v9
with:
luaVersion: "5.1"
- uses: leafo/gh-actions-luarocks@v4
- name: install dependencies
run: |
luarocks init
luarocks install --only-deps ./*.rockspec
- name: Type Check Code Base
uses: mrcjkb/[email protected]
with:
configpath: .github/workflows/.luarc.json
directories: |
lua