Skip to content

feat: add GitHub workflow for enforcing code style #4

feat: add GitHub workflow for enforcing code style

feat: add GitHub workflow for enforcing code style #4

Workflow file for this run

name: Code style
on: [push, pull_request]
jobs:
markdownlint:
name: markdownlint
runs-on: ubuntu-latest
steps:
- uses: DavidAnson/markdownlint-cli2-action@v15
with:
globs: |
README.md
stylua:
name: stylua
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: JohnnyMorganz/stylua-action@v4
with:
version: latest
token: ${{ secrets.GITHUB_TOKEN }}
args: --check lua