Compare commits
3 Commits
shared-nix
...
2f1e6e2d31
Author | SHA1 | Date | |
---|---|---|---|
|
2f1e6e2d31 | ||
|
92ca8f0be3 | ||
|
9e910a651e |
12
.woodpecker/.all-checks-complete.yml
Normal file
12
.woodpecker/.all-checks-complete.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
pipeline:
|
||||
nix:
|
||||
image: alpine
|
||||
commands:
|
||||
- echo "All required checks complete"
|
||||
|
||||
depends_on:
|
||||
- run
|
||||
- build
|
||||
- ci-specific
|
||||
|
||||
skip_clone: true
|
11
.woodpecker/.build.yml
Normal file
11
.woodpecker/.build.yml
Normal file
@@ -0,0 +1,11 @@
|
||||
pipeline:
|
||||
build:
|
||||
image: nixos/nix
|
||||
commands:
|
||||
- nix develop --command cargo test --verbose --release
|
||||
- nix develop --command cargo test --verbose
|
||||
lint:
|
||||
image: nixos/nix
|
||||
commands:
|
||||
- nix develop --command cargo -- fmt --all -- --check
|
||||
- nix develop --command cargo -- clippy -- -D warnings -W clippy::must_use_candidate
|
7
.woodpecker/.ci-specific.yml
Normal file
7
.woodpecker/.ci-specific.yml
Normal file
@@ -0,0 +1,7 @@
|
||||
pipeline:
|
||||
alejandra:
|
||||
image: nixos/nix
|
||||
commands:
|
||||
- nix develop .#ci --command alejandra -- --check .
|
||||
- nix develop .#ci --command markdown-link-check README.md
|
||||
|
6
.woodpecker/.run.yml
Normal file
6
.woodpecker/.run.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
pipeline:
|
||||
nix:
|
||||
image: nixos/nix
|
||||
commands:
|
||||
- nix build
|
||||
- nix run
|
Reference in New Issue
Block a user