From c519ad885eee5a44792a647d77c357e291f25a12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ensar=20Saraj=C4=8Di=C4=87?= Date: Thu, 28 Apr 2022 16:00:44 +0200 Subject: [PATCH] Add stylua check for lua config files --- .github/workflows/main.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ad27647..1687bb3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -29,3 +29,12 @@ jobs: run: echo "test\n\n" | make create_personal_ssh_github_key env: DOTFILES_CI: 1 + stylua: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Run stylua + uses: JohnnyMorganz/stylua-action@1.0.0 + with: + token: ${{ secrets.GITHUB_TOKEN }} + args: --check .