From be8f65608796e50aa2e2da5452849c263558f0ed Mon Sep 17 00:00:00 2001 From: Santos Gallegos Date: Sun, 4 Jul 2021 16:12:17 -0500 Subject: Use stylua for autoformat code (#1480) --- .github/workflows/lint.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to '.github') diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 6d3d3fec..16d8fdb2 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -18,3 +18,14 @@ jobs: - name: Run Luacheck run: sudo ./scripts/style-check.sh + + stylua: + name: StyLua + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Lint with stylua + uses: JohnnyMorganz/stylua-action@1.0.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + args: --check . -- cgit v1.2.3