Clean up workflow file
This commit is contained in:
parent
842ed8abf7
commit
d1eb08c783
@ -7,19 +7,21 @@ on:
|
|||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
BEETSDIR: ./
|
|
||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
LLVM_PROFILE_FILE: target/debug/profraw/musichoard-%p-%m.profraw
|
CARGO_TERM_VERBOSE: true
|
||||||
RUSTFLAGS: -C instrument-coverage
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_and_test:
|
build_and_test:
|
||||||
name: Build and Test
|
name: Build and Test
|
||||||
container: docker.io/drrobot/musichoard-ci:rust-1.75
|
container: docker.io/drrobot/musichoard-ci:rust-1.75
|
||||||
|
env:
|
||||||
|
BEETSDIR: ./
|
||||||
|
LLVM_PROFILE_FILE: target/debug/profraw/musichoard-%p-%m.profraw
|
||||||
|
RUSTFLAGS: -C instrument-coverage
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run: cargo build --verbose --all-features --all-targets
|
- run: cargo build --all-features --all-targets
|
||||||
- run: cargo test --verbose --all-features --all-targets --no-fail-fast
|
- run: cargo test --all-features --all-targets --no-fail-fast
|
||||||
- run: >-
|
- run: >-
|
||||||
grcov target/debug/profraw
|
grcov target/debug/profraw
|
||||||
--binary-path ./target/debug/
|
--binary-path ./target/debug/
|
||||||
@ -41,5 +43,5 @@ jobs:
|
|||||||
container: docker.io/drrobot/musichoard-ci:rust-1.75
|
container: docker.io/drrobot/musichoard-ci:rust-1.75
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- run: cargo clippy --verbose --all-features --all-targets -- -D warnings
|
- run: cargo clippy --all-features --all-targets -- -D warnings
|
||||||
- run: cargo fmt --verbose -- --check
|
- run: cargo fmt -- --check
|
||||||
|
Loading…
Reference in New Issue
Block a user