Split pipeline into tests and lint
This commit is contained in:
parent
fd2b83efbe
commit
0c6812f40c
@ -10,12 +10,18 @@ env:
|
||||
CARGO_TERM_COLOR: always
|
||||
|
||||
jobs:
|
||||
pipeline:
|
||||
name: Pipeline
|
||||
build_and_test:
|
||||
name: Build and Test
|
||||
container: docker.io/drrobot/musichoard-ci:rust-1.75
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: cargo build --verbose --all-features --all-targets
|
||||
- run: cargo test --verbose --all-features --all-targets --no-fail-fast
|
||||
|
||||
lint:
|
||||
name: Lint
|
||||
container: docker.io/drrobot/musichoard-ci:rust-1.75
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- run: cargo clippy --verbose --all-features --all-targets -- -D warnings
|
||||
- run: cargo fmt --verbose -- --check
|
||||
|
Loading…
Reference in New Issue
Block a user