mirror of
https://github.com/msgpack/msgpack-python.git
synced 2026-02-08 10:49:59 +00:00
Move Black from Travis to Github Actions (#390)
This commit is contained in:
parent
f6f6f328eb
commit
5ba496c79a
2 changed files with 21 additions and 8 deletions
21
.github/workflows/black.yaml
vendored
Normal file
21
.github/workflows/black.yaml
vendored
Normal file
|
|
@ -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/
|
||||
Loading…
Add table
Add a link
Reference in a new issue