add lua #225
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: Lint and Format | |
on: [push, pull_request] | |
jobs: | |
lint_and_format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.8' | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install black pylint | |
- name: Run black | |
run: black --check . | |
# - name: Run pylint | |
# run: pylint $(find . -name "*.py") | |
- name: Format code | |
run: | | |
chmod +x format_code.sh | |
./format_code.sh |