Add StyLua workflow

This commit is contained in:
Marc 2023-04-05 13:46:38 +03:00 committed by GitHub
commit 1f02339c05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

14
.github/workflows/main.yml vendored Normal file
View File

@ -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/