From 50c9fee91fa824487309339cff425ea62c74b628 Mon Sep 17 00:00:00 2001 From: linrongbin16 Date: Wed, 4 Oct 2023 22:52:48 +0800 Subject: [PATCH] ci: stylua --- .github/workflows/ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4707f8f..0bf79e7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -31,7 +31,7 @@ jobs: with: args: lua --config .luacheckrc unit_test: - name: Unit Test + name: Unit test strategy: matrix: nvim_version: [stable, nightly, v0.6.0] @@ -76,3 +76,10 @@ jobs: files: luacov.report.out env: CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} + format: + - name: Code format + - uses: JohnnyMorganz/stylua-action@v3 + with: + token: ${{ secrets.GITHUB_TOKEN }} + version: latest + args: --color always --check .