Add Black to the CI
This commit is contained in:
parent
b7291a2bd4
commit
1fadcde028
1 changed files with 13 additions and 0 deletions
13
.github/workflows/ci.yml
vendored
13
.github/workflows/ci.yml
vendored
|
@ -75,3 +75,16 @@ jobs:
|
|||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: EmbarkStudios/cargo-deny-action@v1
|
||||
black:
|
||||
name: Black
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Apt update
|
||||
run: sudo apt update
|
||||
- name: Install Python
|
||||
run: sudo apt install -y python3
|
||||
- name: Install Black
|
||||
run: sudo apt install -y black
|
||||
- name: Check Pyhton code format using Black
|
||||
run: black --check .
|
||||
|
|
Loading…
Reference in a new issue