Add CI job for black formatting

This commit is contained in:
adisbladis 2022-01-12 18:47:49 +13:00
parent 7a7dcbe2e1
commit f95121b884

View file

@ -24,6 +24,16 @@ jobs:
- name: Check format
run: nix-shell --run 'git ls-files | grep -P "\.py$" | xargs py2-astparse'
black-fmt:
runs-on: ubuntu-latest
steps:
- uses: cachix/install-nix-action@v16
with:
nix_path: nixpkgs=channel:nixos-unstable
- uses: actions/checkout@v2.4.0
- name: Check format
run: nix-shell --run 'black --check .'
matrix_generate:
runs-on: ubuntu-latest
outputs: