aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorSantos Gallegos <stsewd@protonmail.com>2021-07-04 16:12:17 -0500
committerGitHub <noreply@github.com>2021-07-04 21:12:17 +0000
commitbe8f65608796e50aa2e2da5452849c263558f0ed (patch)
tree39f6057de9026ab312c3bb838e773910129b5575 /.github
parentfeat(keywords) merge return and yield into keyword.return group (diff)
downloadnvim-treesitter-be8f65608796e50aa2e2da5452849c263558f0ed.tar
nvim-treesitter-be8f65608796e50aa2e2da5452849c263558f0ed.tar.gz
nvim-treesitter-be8f65608796e50aa2e2da5452849c263558f0ed.tar.bz2
nvim-treesitter-be8f65608796e50aa2e2da5452849c263558f0ed.tar.lz
nvim-treesitter-be8f65608796e50aa2e2da5452849c263558f0ed.tar.xz
nvim-treesitter-be8f65608796e50aa2e2da5452849c263558f0ed.tar.zst
nvim-treesitter-be8f65608796e50aa2e2da5452849c263558f0ed.zip
Use stylua for autoformat code (#1480)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/lint.yml11
1 files changed, 11 insertions, 0 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 6d3d3fec4..16d8fdb2e 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -18,3 +18,14 @@ jobs:
- name: Run Luacheck
run: sudo ./scripts/style-check.sh
+
+ stylua:
+ name: StyLua
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: Lint with stylua
+ uses: JohnnyMorganz/stylua-action@1.0.0
+ with:
+ token: ${{ secrets.GITHUB_TOKEN }}
+ args: --check .