File tree Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Expand file tree Collapse file tree 2 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 1212jobs :
1313 analyze :
1414 runs-on : ubuntu-latest
15-
1615 steps :
1716 - uses : actions/checkout@v2
1817
19- - name : install code quality tools
20- uses : Roblox/setup-foreman@v1
18+ - uses : Roblox/setup-foreman@v1
2119 with :
22- version : " ^1.0.1"
2320 token : ${{ secrets.GITHUB_TOKEN }}
2421
2522 - name : Download global Roblox types
2623 shell : bash
27- run : curl -O https://raw.githubusercontent.com/JohnnyMorganz/luau-analyze-rojo/master/globalTypes.d.lua
24+ run : curl -s -O https://raw.githubusercontent.com/JohnnyMorganz/luau-lsp/master/scripts/globalTypes.d.lua
25+
26+ - name : Generate sourcemap for LSP
27+ shell : bash
28+ run : rojo sourcemap default.project.json -o sourcemap.json
2829
2930 - name : Analyze
3031 shell : bash
31- run : luau-analyze --project=default.project .json --defs=globalTypes.d.lua --defs=testez.d.lua src/
32+ run : luau-lsp analyze --sourcemap=sourcemap .json --defs=globalTypes.d.lua --defs=testez.d.lua src/
3233
3334
3435 test :
Original file line number Diff line number Diff line change 11[tools ]
2- rojo = { source = " rojo-rbx/rojo" , version = " 6 .2.0" }
2+ rojo = { source = " rojo-rbx/rojo" , version = " 7 .2.0" }
33selene = { source = " Kampfkarren/selene" , version = " 0.18.1" }
44stylua = { source = " JohnnyMorganz/StyLua" , version = " 0.13.1" }
5- luau-analyze = { source = " JohnnyMorganz/luau-analyze-rojo " , version = " 0.527.0 " }
5+ luau-lsp = { source = " JohnnyMorganz/luau-lsp " , version = " * " }
You can’t perform that action at this time.
0 commit comments