diff options
author | Inada Naoki <songofacandy@gmail.com> | 2019-12-06 21:23:54 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-06 21:23:54 +0900 |
commit | 5ba496c79a45c6938f3e850718349cfa51cc38ae (patch) | |
tree | 4c04ae4a9d100e7e75f8888cfaa69e74761db5a3 /.github | |
parent | f6f6f328eb2d7b7f1272fa7addb31d2ac5bef207 (diff) | |
download | msgpack-python-5ba496c79a45c6938f3e850718349cfa51cc38ae.tar.gz |
Move Black from Travis to Github Actions (#390)
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/black.yaml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/.github/workflows/black.yaml b/.github/workflows/black.yaml new file mode 100644 index 0000000..cabd0cc --- /dev/null +++ b/.github/workflows/black.yaml @@ -0,0 +1,21 @@ +name: Black + +on: ["push", "pull_request"] + +jobs: + black: + runs-on: ubuntu-latest + steps: + - name: Setup Python + uses: actions/setup-python@v1 + with: + python-version: '3.x' + architecture: 'x64' + + - name: Checkout + uses: actions/checkout@v1 + + - name: Black Code Formatter + run: | + pip install black + black --diff --check msgpack/ test/ |