Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Minvinea authored Dec 12, 2023
1 parent 6546537 commit c35fe5b
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
name: black-action
on: [push, pull_request]
jobs:
linter_name:
name: runner / black formatter
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: rickstaa/action-black@v1
- uses: actions/setup-python@v1
with:
black_args: ". --check --verbose"
python-version: 3.9
- run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- run: |
black --check --verbose .

0 comments on commit c35fe5b

Please sign in to comment.