Fix Nix
Some checks failed
ci/woodpecker/push/run Pipeline is pending
ci/woodpecker/pr/ci-specific Pipeline is pending
ci/woodpecker/pr/run Pipeline is pending
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/ci-specific Pipeline failed
ci/woodpecker/pr/build Pipeline failed
ci/woodpecker/push/all-checks-complete unknown status
ci/woodpecker/pr/all-checks-complete unknown status

This commit is contained in:
Smaug123
2023-07-20 18:28:51 +01:00
parent 2f1e6e2d31
commit aa6525764f
4 changed files with 9 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
pipeline:
nix:
echo:
image: alpine
commands:
- echo "All required checks complete"

View File

@@ -2,10 +2,10 @@ pipeline:
build:
image: nixos/nix
commands:
- nix develop --command cargo test --verbose --release
- nix develop --command cargo test --verbose
- nix --experimental-features 'nix-command flakes' develop --command cargo test --verbose --release
- nix --experimental-features 'nix-command flakes' 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
- nix --experimental-features 'nix-command flakes' develop --command cargo -- fmt --all -- --check
- nix --experimental-features 'nix-command flakes' develop --command cargo -- clippy -- -D warnings -W clippy::must_use_candidate

View File

@@ -2,6 +2,6 @@ pipeline:
alejandra:
image: nixos/nix
commands:
- nix develop .#ci --command alejandra -- --check .
- nix develop .#ci --command markdown-link-check README.md
- nix --experimental-features 'nix-command flakes' develop .#ci --command alejandra -- --check .
- nix --experimental-features 'nix-command flakes' develop .#ci --command markdown-link-check README.md

View File

@@ -2,5 +2,5 @@ pipeline:
nix:
image: nixos/nix
commands:
- nix build
- nix run
- nix --experimental-features 'nix-command flakes' build
- nix --experimental-features 'nix-command flakes' run