layer: 'library'
language: 'rust'
tasks:
fmt:
command: 'cargo fmt -p jj-hooks -- --check'
inputs: ['src/**/*.rs', 'tests/**/*.rs', 'Cargo.toml', '/rustfmt.toml']
options:
cache: false
clippy:
command: 'cargo clippy -p jj-hooks --all-targets -- -D warnings'
inputs: ['src/**/*', 'tests/**/*', 'Cargo.toml', '/Cargo.toml', '/Cargo.lock']
options:
cache: false
test:
command: 'cargo nextest run -p jj-hooks --no-fail-fast'
inputs: ['src/**/*', 'tests/**/*', 'Cargo.toml', '/Cargo.toml', '/Cargo.lock']
options:
cache: false
ci:
deps: ['fmt', 'clippy', 'test']
options:
cache: false