From 0729793943a96c8553bd0386f13cd91f22d2ed8e Mon Sep 17 00:00:00 2001 From: Wassim Metallaoui Date: Tue, 4 Jun 2024 18:11:40 -0500 Subject: [PATCH] feat: ensure we follow a style for lua code --- .github/workflows/lint.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 0000000..39c80e2 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,14 @@ +name: Style checking + +on: [push, pull_request] + +jobs: + stylua: + name: stylua + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: JohnnyMorganz/stylua-action@v4 + with: + version: latest + args: --color always --check lua/