Skip to content

feat: add GitHub workflow for enforcing code style #8

feat: add GitHub workflow for enforcing code style

feat: add GitHub workflow for enforcing code style #8

Workflow file for this run

name: Code style
on: [push, pull_request]
jobs:
markdownlint:
name: markdownlint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DavidAnson/markdownlint-cli2-action@v15
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