File tree Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Expand file tree Collapse file tree 1 file changed +10
-8
lines changed Original file line number Diff line number Diff line change @@ -38,22 +38,24 @@ jobs:
3838 runs-on : ubuntu-latest
3939
4040 concurrency :
41- group : ${{ github.workflow }}-${{ matrix.stylua_version }}-${{ github.head_ref || github.ref_name }}
41+ group : ${{ github.workflow }}-${{ matrix.emmy_lua_code_style_version }}-${{ github.head_ref || github.ref_name }}
4242 cancel-in-progress : true
4343
4444 strategy :
4545 matrix :
46- stylua_version : [ 0.19.1 ]
46+ emmy_lua_code_style_version : [ 1.5.4 ]
4747
4848 steps :
4949 - uses : actions/checkout@v4
5050
51- - name : stylua
52- uses : JohnnyMorganz/stylua-action@v4
53- with :
54- token : ${{ secrets.GITHUB_TOKEN }}
55- version : ${{ matrix.stylua_version }}
56- args : --check lua
51+ - name : install emmy_lua_code_style
52+ run : |
53+ mkdir -p CodeFormat
54+ curl -L "https://github.com/CppCXY/EmmyLuaCodeStyle/releases/download/${{ matrix.emmy_lua_code_style_version }}/linux-x64.tar.gz" | tar zx --directory CodeFormat
55+
56+ - run : echo "CodeFormat/linux-64/bin" >> "$GITHUB_PATH"
57+
58+ - run : make style
5759
5860 - run : make style-doc
5961
You can’t perform that action at this time.
0 commit comments