File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ on : [push, pull_request]
2+ name : Lint
3+
4+ jobs :
5+ lint :
6+ runs-on : ubuntu-latest
7+ steps :
8+ - name : checkout
9+ uses : actions/checkout@v4
10+
11+ - name : install neovim
12+ uses : rhysd/action-setup-vim@v1
13+ with :
14+ neovim : true
15+ version : v0.11.2
16+
17+ - name : install lua-language-server
18+ env :
19+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
20+ run : |
21+ cd
22+ gh release download -R sumneko/lua-language-server -p '*-linux-x64.tar.gz' -D lua-language-server
23+ tar xzf lua-language-server/* -C lua-language-server
24+ echo "${PWD}/lua-language-server/bin" >> $GITHUB_PATH
25+ export PATH="${PWD}/lua-language-server/bin:${PATH}"
26+ lua-language-server --version
27+
28+ - name : lint
29+ run : |
30+ make deps
31+ make lint
Original file line number Diff line number Diff line change 2201|
3302|~
4403|~ ╭─────────────────── Files h ────────────────────╮
5- 04|~ │> 135/135 (0) │
5+ 04|~ │> 136/136 (0) │
6605|~ │──────────────────────────────────────────────── │
7706|~ │▌ [DEBUG] [mt] fd --hidden --color=never --typ··││
8807|~ │ .editorconfig │
9908|~ │ .github/ISSUE_TEMPLATE/bug.yaml │
101009|~ │ .github/ISSUE_TEMPLATE/config.yml │
111110|~ │ .github/ISSUE_TEMPLATE/feature.yaml │
121211|~ │ .github/workflows/ci.yaml │
13- 12|~ │ .github/workflows/luarocks-release .yaml │
14- 13|~ │ .github/workflows/sync_remote .yaml │
15- 14|~ │ .github/workflows/vimdoc .yaml │
16- 15|~ │ .gitignore │
17- 16|~ │ .luarc.jsonc │
18- 17|~ │ .stylua.toml │
19- 18|~ │ LICENSE │
20- 19|~ │ Makefile │
21- 20|~ │ OPTIONS.md │
22- 21|~ │ README-Win .md │
13+ 12|~ │ .github/workflows/lint .yaml │
14+ 13|~ │ .github/workflows/luarocks-release .yaml │
15+ 14|~ │ .github/workflows/sync_remote .yaml │
16+ 15|~ │ .github/workflows/vimdoc.yaml │
17+ 16|~ │ .gitignore │
18+ 17|~ │ .luarc.jsonc │
19+ 18|~ │ .stylua.toml │
20+ 19|~ │ LICENSE │
21+ 20|~ │ Makefile │
22+ 21|~ │ OPTIONS .md │
232322|~ ╰─────────────────────────────────────────────────╯
242423|~
252524|[No Name] 0,0-1 All
Original file line number Diff line number Diff line change 2201|
3302|~
4403|~ ╭───────────────────── Files ─────────────────────╮
5- 04|~ │> 135/135 (0) │
5+ 04|~ │> 136/136 (0) │
6605|~ │──────────────────────────────────────────────── │
7706|~ │▌ [DEBUG] [mt] find . -type f \! -path '*/.git··││
8807|~ │ .editorconfig │
9908|~ │ .github/ISSUE_TEMPLATE/bug.yaml │
101009|~ │ .github/ISSUE_TEMPLATE/config.yml │
111110|~ │ .github/ISSUE_TEMPLATE/feature.yaml │
121211|~ │ .github/workflows/ci.yaml │
13- 12|~ │ .github/workflows/luarocks-release .yaml │
14- 13|~ │ .github/workflows/sync_remote .yaml │
15- 14|~ │ .github/workflows/vimdoc .yaml │
16- 15|~ │ .gitignore │
17- 16|~ │ .luarc.jsonc │
18- 17|~ │ .stylua.toml │
19- 18|~ │ LICENSE │
20- 19|~ │ Makefile │
21- 20|~ │ OPTIONS.md │
22- 21|~ │ README-Win .md │
13+ 12|~ │ .github/workflows/lint .yaml │
14+ 13|~ │ .github/workflows/luarocks-release .yaml │
15+ 14|~ │ .github/workflows/sync_remote .yaml │
16+ 15|~ │ .github/workflows/vimdoc.yaml │
17+ 16|~ │ .gitignore │
18+ 17|~ │ .luarc.jsonc │
19+ 18|~ │ .stylua.toml │
20+ 19|~ │ LICENSE │
21+ 20|~ │ Makefile │
22+ 21|~ │ OPTIONS .md │
232322|~ ╰─────────────────────────────────────────────────╯
242423|~
252524|[No Name] 0,0-1 All
Original file line number Diff line number Diff line change 2201|
3302|~
4403|~ ╭─────────────────── Files h ────────────────────╮
5- 04|~ │> 135/135 (0) │
5+ 04|~ │> 136/136 (0) │
6605|~ │──────────────────────────────────────────────── │
7706|~ │▌ [DEBUG] [mt] rg --hidden --files -g "!.git" ··││
8807|~ │ .editorconfig │
9908|~ │ .github/ISSUE_TEMPLATE/bug.yaml │
101009|~ │ .github/ISSUE_TEMPLATE/config.yml │
111110|~ │ .github/ISSUE_TEMPLATE/feature.yaml │
121211|~ │ .github/workflows/ci.yaml │
13- 12|~ │ .github/workflows/luarocks-release .yaml │
14- 13|~ │ .github/workflows/sync_remote .yaml │
15- 14|~ │ .github/workflows/vimdoc .yaml │
16- 15|~ │ .gitignore │
17- 16|~ │ .luarc.jsonc │
18- 17|~ │ .stylua.toml │
19- 18|~ │ LICENSE │
20- 19|~ │ Makefile │
21- 20|~ │ OPTIONS.md │
22- 21|~ │ README-Win .md │
13+ 12|~ │ .github/workflows/lint .yaml │
14+ 13|~ │ .github/workflows/luarocks-release .yaml │
15+ 14|~ │ .github/workflows/sync_remote .yaml │
16+ 15|~ │ .github/workflows/vimdoc.yaml │
17+ 16|~ │ .gitignore │
18+ 17|~ │ .luarc.jsonc │
19+ 18|~ │ .stylua.toml │
20+ 19|~ │ LICENSE │
21+ 20|~ │ Makefile │
22+ 21|~ │ OPTIONS .md │
232322|~ ╰─────────────────────────────────────────────────╯
242423|~
252524|[No Name] 0,0-1 All
Original file line number Diff line number Diff line change 2201|
3302|~
4403|~ ╭─────────────────── Files h ────────────────────╮
5- 04|~ │> 134/134 (0) │
5+ 04|~ │> 135/135 (0) │
6605|~ │──────────────────────────────────────────────── │
7706|~ │ .editorconfig ││
8807|~ │▌ .github/ISSUE_TEMPLATE/bug.yaml │
9908|~ │ .github/ISSUE_TEMPLATE/config.yml │
101009|~ │ .github/ISSUE_TEMPLATE/feature.yaml │
111110|~ │ .github/workflows/ci.yaml │
12- 11|~ │ .github/workflows/luarocks-release .yaml │
13- 12|~ │ .github/workflows/sync_remote .yaml │
12+ 11|~ │ .github/workflows/lint .yaml │
13+ 12|~ │ .github/workflows/luarocks-release .yaml │
141413|~ ╰─────────────────────────────────────────────────╯
151514|~ ╭─────────────────── bug.yaml ────────────────────╮
161615|~ │ 1 name: 🐞 Bug Report
You can’t perform that action at this time.
0 commit comments