fix: task output problems #33
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Linting and Style Checking | |
on: | |
push: | |
jobs: | |
luacheck: | |
runs-on: ubuntu-22.04 | |
name: Lint Lua Code | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Luacheck Linter | |
uses: lunarmodules/luacheck@v0 | |
with: | |
args: lua/ | |
stylua: | |
runs-on: ubuntu-22.04 | |
name: Check Lua Style | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Lua Style Check | |
uses: JohnnyMorganz/stylua-action@v3 | |
with: | |
version: v0.17 | |
token: ${{ secrets.GITHUB_TOKEN }} | |
args: --color always --check lua/ | |
markdown-format: | |
runs-on: ubuntu-22.04 | |
name: Check Markdown Format | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Python Setup | |
uses: actions/setup-python@v3 | |
with: | |
python-version: '3.8' | |
- name: Install mdformat | |
run: | | |
pip install mdformat-gfm | |
- name: Markdown Style Check | |
run: | | |
mdformat --number --wrap 80 --check README.md |