Skip to content

Commit

Permalink
working
Browse files Browse the repository at this point in the history
  • Loading branch information
mrvollger committed Sep 11, 2021
1 parent bdcbf99 commit 75eedec
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/black.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@

name: black

# Controls when the action will run.
# Controls when the action will run.
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ main, master ]
branches: [main, master]
pull_request:
branches: [ main, master ]
branches: [main, master]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
Expand All @@ -17,10 +16,10 @@ jobs:
black:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout submodules
uses: textbook/[email protected]
- name: Test black Formatting
uses: lgeiger/black-action@master
with:
args: ". --check"
- uses: actions/checkout@v2
- name: Checkout submodules
uses: textbook/[email protected]
- name: Test black Formatting
uses: lgeiger/black-action@master
with:
args: ". --check"

0 comments on commit 75eedec

Please sign in to comment.