email_testing #142
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 code | |
on: | |
push: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
lint-format: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
- name: prettier | |
run: npx prettier --check . | |
if: ${{ always() }} | |
- uses: actions/setup-python@v2 | |
- uses: psf/black@stable | |
if: ${{ always() }} | |
- name: pylint | |
run: | | |
python3 -m pip install --upgrade pip wheel setuptools | |
python3 -m pip install --upgrade pylint | |
python3 -m pylint eAbsentee/ scripts/ | |
if: ${{ always() }} |