This repository has been archived by the owner on Sep 9, 2024. It is now read-only.
Add check cmd, tweak allowed mentions to None #252
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
on: | |
pull_request: | |
push: | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Setup python | |
id: python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.9' | |
- name: Install dependencies | |
id: install-deps | |
run: | | |
python3 -m pip install --upgrade black | |
- name: Lint | |
run: "black --check ." | |
env: | |
PR_TESTING: 1 |