github.py2-compat: Only use astparse tool in workflow check

This commit is contained in:
adisbladis 2022-05-10 07:43:01 +12:00
parent 5e6ad67b5b
commit e03a02c20a

View file

@ -22,7 +22,7 @@ jobs:
nix_path: nixpkgs=channel:nixos-unstable
- uses: actions/checkout@v2.4.0
- name: Check format
run: nix-shell --run 'git ls-files | grep -Pv "^tools" | grep -P "\.py$" | xargs py2-astparse'
run: nix-shell --arg packages 'pkgs: [ pkgs.p2nix-tools.py2-astparse ]' --run 'git ls-files | grep -Pv "^tools" | grep -P "\.py$" | xargs py2-astparse'
black-fmt:
runs-on: ubuntu-latest