From 1e633d4563266117f4b849259066d8529902e2bd Mon Sep 17 00:00:00 2001 From: EncodedVenom <32179912+EncodedVenom@users.noreply.github.com> Date: Sat, 5 Oct 2024 21:36:07 -0400 Subject: [PATCH] Update ci.yaml (#140) * Update ci.yaml * Update ci.yaml * Create lint.yml * Update ci.yaml * Update lint.yml --- .github/workflows/lint.yml | 20 ++++++++++++++++++++ 1 file changed, 20 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..13d5420 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,20 @@ +name: Stylua + +on: [push, pull_request, workflow_dispatch] + +jobs: + run: + name: Run Stylua + runs-on: ubuntu-latest + + steps: + - name: Checkout Project + uses: actions/checkout@v4 + + - name: Run Stylua + uses: JohnnyMorganz/stylua-action@v4 + with: + token: ${{ secrets.GITHUB_TOKEN }} + version: latest # NOTE: we recommend pinning to a specific version in case of formatting changes + # CLI arguments + args: ./src