@@ -43,15 +43,14 @@ jobs:
4343 runs-on : ubuntu-latest
4444
4545 concurrency :
46- group : ${{ github.workflow }}-${{ matrix.nvim_version }}-${{ matrix.luals_version }}-${{ github.head_ref || github.ref_name }}
46+ group : ${{ github.workflow }}-${{ matrix.nvim_version }}-${{ matrix.luals_version }}-${{ matrix.emmyluacodestyle_version }}-${{ github.head_ref || github.ref_name }}
4747 cancel-in-progress : true
4848
4949 strategy :
5050 matrix :
51- lua_version : [ 5.1 ]
5251 nvim_version : [ stable, nightly ]
5352 luals_version : [ 3.15.0 ]
54- emmyluacodestyle_version : [ 1.5.7 ]
53+ emmyluacodestyle_version : [ 1.6.0 ]
5554
5655 env :
5756 VIMRUNTIME : /home/runner/nvim-${{ matrix.nvim_version }}/share/nvim/runtime
@@ -73,16 +72,11 @@ jobs:
7372 curl -L "https://github.com/LuaLS/lua-language-server/releases/download/${{ matrix.luals_version }}/lua-language-server-${{ matrix.luals_version }}-linux-x64.tar.gz" | tar zx --directory luals
7473 echo "luals/bin" >> "$GITHUB_PATH"
7574
76- - name : install lua ${{ matrix.lua_version }}
77- uses : leafo/gh-actions-lua@v12
78- with :
79- luaVersion : ${{ matrix.lua_version }}
80-
81- - name : install luarocks
82- uses : leafo/gh-actions-luarocks@v6
83-
84- - name : install emmyluacodestyle ${{ matrix.emmyluacodestyle_version }}
85- run : luarocks install emmyluacodestyle ${{ matrix.emmyluacodestyle_version }}
75+ - name : install EmmyLuaCodeStyle ${{ matrix.emmyluacodestyle_version }}
76+ run : |
77+ mkdir -p EmmyLuaCodeStyle
78+ curl -L "https://github.com/CppCXY/EmmyLuaCodeStyle/releases/download/${{ matrix.emmyluacodestyle_version }}/linux-x64.tar.gz" | tar zx --directory EmmyLuaCodeStyle
79+ echo "EmmyLuaCodeStyle/linux-x64/bin" >> "$GITHUB_PATH"
8680
8781 - run : make check
8882
0 commit comments