diff options
author | eine <eine@users.noreply.github.com> | 2020-08-15 18:09:03 +0200 |
---|---|---|
committer | tgingold <tgingold@users.noreply.github.com> | 2020-08-23 21:21:15 +0200 |
commit | d888e9cfd8f9af76a40a5aa5dfdbc0e7eba7df18 (patch) | |
tree | e12090c266ef1f3f10cd4affc8f9af0128244f8f | |
parent | 4abeb0683159cdc4482a7f491340bfedf3fe2339 (diff) | |
download | ghdl-d888e9cfd8f9af76a40a5aa5dfdbc0e7eba7df18.tar.gz ghdl-d888e9cfd8f9af76a40a5aa5dfdbc0e7eba7df18.tar.bz2 ghdl-d888e9cfd8f9af76a40a5aa5dfdbc0e7eba7df18.zip |
ci: add black --check
-rw-r--r-- | .github/workflows/push.yml | 21 |
1 files changed, 19 insertions, 2 deletions
diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index f8004d9ed..b4c8b61b8 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -10,6 +10,24 @@ env: jobs: # +# Format +# + + fmt: + runs-on: ubuntu-latest + steps: + + - uses: actions/checkout@v2 + + - uses: actions/setup-python@v2 + with: + python-version: 3.8 + + - run: python -m pip install black + + - run: python -m black --check python + +# # GPL # @@ -19,8 +37,7 @@ jobs: - uses: actions/checkout@v2 - - run: | - TASK=buster+mcode ./dist/ci-run.sh -c --gpl --no-synth + - run: TASK=buster+mcode ./dist/ci-run.sh -c --gpl --no-synth # # GNU/Linux |