mirror of
https://github.com/vale981/poetry2nix
synced 2025-03-04 16:51:40 -05:00
.github: Appease the Github YAML parser...
This commit is contained in:
parent
efe5cbb217
commit
4ef7fff09f
1 changed files with 4 additions and 4 deletions
8
.github/workflows/ci.yml
vendored
8
.github/workflows/ci.yml
vendored
|
@ -12,7 +12,7 @@ jobs:
|
|||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- uses: actions/checkout@v2.4.0
|
||||
- name: Check format
|
||||
run: nix-shell --arg packages 'pkgs: [ pkgs.nixpkgs-fmt ]' --run 'nixpkgs-fmt --check .'
|
||||
run: nix-shell --arg packages 'pkgs:[ pkgs.nixpkgs-fmt ]' --run 'nixpkgs-fmt --check .'
|
||||
|
||||
py2-compat:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -22,7 +22,7 @@ jobs:
|
|||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- uses: actions/checkout@v2.4.0
|
||||
- name: Check format
|
||||
run: nix-shell --arg packages 'pkgs: [ pkgs.p2nix-tools.py2-astparse ]' --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
|
||||
|
@ -32,7 +32,7 @@ jobs:
|
|||
nix_path: nixpkgs=channel:nixos-unstable
|
||||
- uses: actions/checkout@v2.4.0
|
||||
- name: Check format
|
||||
run: nix-shell --arg packages 'pkgs: [ pkgs.p2nix-tools.env ]' --run 'black --check .'
|
||||
run: nix-shell --arg packages 'pkgs:[ pkgs.p2nix-tools.env ]' --run 'black --check .'
|
||||
|
||||
matrix_generate:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -64,4 +64,4 @@ jobs:
|
|||
with:
|
||||
name: poetry2nix
|
||||
signingKey: '${{ secrets.CACHIX_SIGNING_KEY }}'
|
||||
- run: nix-shell --arg packages 'pkgs: [ pkgs.nix-build-uncached ]' --run 'nix-build-uncached -build-flags "-L" --keep-going --show-trace tests/default.nix -A ${{ matrix.attr }}'
|
||||
- run: nix-shell --arg packages 'pkgs:[ pkgs.nix-build-uncached ]' --run 'nix-build-uncached -build-flags "-L" --keep-going --show-trace tests/default.nix -A ${{ matrix.attr }}'
|
||||
|
|
Loading…
Add table
Reference in a new issue