diff options
| author | Santos Gallegos <stsewd@protonmail.com> | 2021-07-04 16:12:17 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-04 21:12:17 +0000 |
| commit | be8f65608796e50aa2e2da5452849c263558f0ed (patch) | |
| tree | 39f6057de9026ab312c3bb838e773910129b5575 /.github | |
| parent | feat(keywords) merge return and yield into keyword.return group (diff) | |
| download | nvim-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.yml | 11 |
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 . |
