parallel pipelines

This commit is contained in:
Cyryl Płotnicki 2022-12-03 16:29:14 +00:00
parent 994e683cfa
commit b92b304b62
2 changed files with 10 additions and 8 deletions

View file

@ -1,13 +1,5 @@
pipeline: pipeline:
check:
image: nixpkgs/nix-flakes:latest
pull: true
commands:
- nix --no-sandbox flake metadata
- nix --no-sandbox develop --eval-store ./nix-store -c statix check ./nixos
secrets: [ github_token ]
push_to_github: push_to_github:
image: nixpkgs/nix-flakes:latest image: nixpkgs/nix-flakes:latest
pull: true pull: true

10
.woodpecker/test.yml Normal file
View file

@ -0,0 +1,10 @@
pipeline:
check:
image: nixpkgs/nix-flakes:latest
pull: true
commands:
- nix --no-sandbox flake metadata
- nix --no-sandbox develop --eval-store ./nix-store -c statix check ./nixos
secrets: [ github_token ]