From 79644ab67731c7ba956c354bf0545282f34e10cc Mon Sep 17 00:00:00 2001 From: Simon Hauser Date: Fri, 23 Jul 2021 17:42:37 +0200 Subject: chore: use stylua for formatting (#1040) * chore: stylua job and config * reformat with stylua --- .github/workflows/lint.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to '.github/workflows') diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index e29383c..f398353 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,3 +17,14 @@ jobs: - name: Lint run: sudo make lint + + stylua: + name: stylua + runs-on: ubuntu-20.04 + steps: + - uses: actions/checkout@v2 + - uses: JohnnyMorganz/stylua-action@1.0.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + # CLI arguments + args: --color always --check lua/ -- cgit v1.2.3