From ec11b85df73cce4edb2925cb7f1d0e8db3a07b1c Mon Sep 17 00:00:00 2001 From: Michael Lingelbach Date: Sat, 3 Jul 2021 14:45:08 -0700 Subject: ci: lint and format with stylua --- .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 5d521455..7c0d9133 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -19,3 +19,14 @@ jobs: - name: Run luacheck run: | sudo make lint + style-lint: + runs-on: [ubuntu-latest] + steps: + - name: Checkout sources + uses: actions/checkout@v2 + - name: Lint with stylua + uses: JohnnyMorganz/stylua-action@1.0.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + # CLI arguments + args: --check . -- cgit v1.2.3-70-g09d2