14
14
if : ${{ github.ref != 'refs/heads/main' }}
15
15
runs-on : ubuntu-latest
16
16
steps :
17
- - name : Checkout
18
- uses : actions/checkout@v4
17
+ - uses : actions/checkout@v4
19
18
# - uses: webiny/[email protected]
20
19
-
uses :
ytanikin/[email protected]
21
20
with :
@@ -24,28 +23,23 @@ jobs:
24
23
name : Lua check
25
24
runs-on : ubuntu-latest
26
25
steps :
27
- - name : Checkout
28
- uses : actions/checkout@v4
29
- - name : LuaLs typecheck
30
- uses : stevearc/nvim-typecheck-action@v1
26
+ - uses : actions/checkout@v4
27
+ - uses : stevearc/nvim-typecheck-action@v1
31
28
with :
32
29
path : lua
33
30
level : Information
34
31
configpath : " .luarc.json"
35
32
neodev-version : stable
36
- - name : Luacheck
37
- uses : lunarmodules/luacheck@v1
33
+ - uses : lunarmodules/luacheck@v1
38
34
with :
39
35
args : lua --config .luacheckrc
40
- - name : Stylua
41
- uses : JohnnyMorganz/stylua-action@v3
36
+ - uses : JohnnyMorganz/stylua-action@v3
42
37
with :
43
38
token : ${{ secrets.GITHUB_TOKEN }}
44
39
version : latest
45
40
args : --config-path .stylua.toml lua/ test/
46
- - name : Auto Commit
41
+ - uses : stefanzweifel/git-auto-commit-action@v4
47
42
if : ${{ github.ref != 'refs/heads/main' }}
48
- uses : stefanzweifel/git-auto-commit-action@v4
49
43
with :
50
44
commit_message : " chore(pr): auto-commit"
51
45
unit_test :
@@ -55,20 +49,16 @@ jobs:
55
49
nvim_version : [stable, nightly, v0.6.0]
56
50
runs-on : ubuntu-latest
57
51
steps :
58
- - name : Checkout
59
- uses : actions/checkout@v4
60
- - name : Install neovim
61
- uses : rhysd/action-setup-vim@v1
52
+ - uses : actions/checkout@v4
53
+ - uses : rhysd/action-setup-vim@v1
62
54
id : vim
63
55
with :
64
56
neovim : true
65
57
version : ${{ matrix.nvim_version }}
66
- - name : Install luajit
67
- uses : leafo/gh-actions-lua@v10
58
+ - uses : leafo/gh-actions-lua@v10
68
59
with :
69
60
luaVersion : " luajit-2.1.0-beta3"
70
- - name : Install luarocks
71
- uses : leafo/gh-actions-luarocks@v4
61
+ - uses : leafo/gh-actions-luarocks@v4
72
62
- name : Run test cases
73
63
shell : bash
74
64
run : |
88
78
ls -l .
89
79
echo "cat ./luacov.report.out"
90
80
cat ./luacov.report.out
91
- - name : Upload coverage reports to Codecov
92
- uses : codecov/codecov-action@v3
81
+ - uses : codecov/codecov-action@v3
93
82
with :
94
83
files : luacov.report.out
95
84
env :
@@ -122,7 +111,6 @@ jobs:
122
111
LUAROCKS_API_KEY : ${{ secrets.LUAROCKS_API_KEY }}
123
112
with :
124
113
version : ${{ steps.release.outputs.tag_name }}
125
- summary : " A performant lsp progress status for Neovim."
126
114
labels : |
127
115
vim
128
116
neovim
0 commit comments