From ce9ccbb77da8afe76a0b76b37ad152a53eae3612 Mon Sep 17 00:00:00 2001 From: Marc <54027611+MarcHamamji@users.noreply.github.com> Date: Wed, 5 Apr 2023 13:37:14 +0300 Subject: [PATCH] Add stylua workflow --- .github/workflows/main.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..46b5ac0 --- /dev/null +++ b/.github/workflows/main.yml @@ -0,0 +1,14 @@ +name: Linting and style checking + +on: [push, pull_request] + +jobs: + stylua: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: JohnnyMorganz/stylua-action@v2 + with: + token: ${{ secrets.GITHUB_TOKEN }} + version: latest + args: --check lua/