Skip to content

Commit 37986f6

Browse files
committed
stylua -> EmmyLuaCodeStyle: CI
1 parent d54d4f3 commit 37986f6

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)