Combine into one, for efficiency
This commit is contained in:
@@ -5,8 +5,6 @@ pipeline:
|
||||
- echo "All required checks complete"
|
||||
|
||||
depends_on:
|
||||
- run
|
||||
- build
|
||||
- ci-specific
|
||||
|
||||
skip_clone: true
|
||||
|
@@ -2,10 +2,14 @@ pipeline:
|
||||
build:
|
||||
image: nixos/nix
|
||||
commands:
|
||||
- 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:
|
||||
# Lint
|
||||
- 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
|
||||
- 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
|
||||
# Test
|
||||
- nix --experimental-features 'nix-command flakes' develop --command cargo test --verbose --release
|
||||
- nix --experimental-features 'nix-command flakes' develop --command cargo test --verbose
|
||||
# Run through Nix
|
||||
- nix --experimental-features 'nix-command flakes' build
|
||||
- nix --experimental-features 'nix-command flakes' run
|
||||
|
@@ -1,7 +0,0 @@
|
||||
pipeline:
|
||||
alejandra:
|
||||
image: nixos/nix
|
||||
commands:
|
||||
- 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
|
||||
|
@@ -1,6 +0,0 @@
|
||||
pipeline:
|
||||
nix:
|
||||
image: nixos/nix
|
||||
commands:
|
||||
- nix --experimental-features 'nix-command flakes' build
|
||||
- nix --experimental-features 'nix-command flakes' run
|
Reference in New Issue
Block a user