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:
38
38
runs-on : ubuntu-latest
39
39
40
40
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 }}
42
42
cancel-in-progress : true
43
43
44
44
strategy :
45
45
matrix :
46
- stylua_version : [ 0.19.1 ]
46
+ emmy_lua_code_style_version : [ 1.5.4 ]
47
47
48
48
steps :
49
49
- uses : actions/checkout@v4
50
50
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
57
59
58
60
- run : make style-doc
59
61
You can’t perform that action at this time.
0 commit comments