brain / .github /workflows /lint.yml
posix4e's picture
Move to a new way of bundling requirements
62bd6c6
name: Brain Lint with black
on:
push:
pull_request:
paths:
- "Brain/**"
- "requirements.txt"
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: Brain
steps:
- name: setup
uses: actions/checkout@v3
- name: setup-python
uses: actions/setup-python@v3
- name: install black
run: pip install black
- name: lint
run: black --check .