18 lines
371 B
YAML
18 lines
371 B
YAML
# Define action name, description, and inputs
|
|
name: "Python Black Lint"
|
|
description: "Lint python code with black"
|
|
|
|
# Define action steps
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- uses: actions/setup-python@v2
|
|
with:
|
|
python-version: "3.x"
|
|
architecture: x64
|
|
|
|
- run: pip install black
|
|
shell: bash
|
|
- run: black --check .
|
|
shell: bash
|