Add CI to repository #80
@ -1,4 +1,4 @@
|
|||||||
name: Cargo Build and Test
|
name: Cargo CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
@ -10,10 +10,12 @@ env:
|
|||||||
CARGO_TERM_COLOR: always
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build_and_test:
|
pipeline:
|
||||||
name: Build and Test
|
name: Pipeline
|
||||||
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 build --verbose --all-features --all-targets
|
- run: cargo build --verbose --all-features --all-targets
|
||||||
- run: cargo test --verbose --all-features --lib --bins
|
- run: cargo test --verbose --all-features --lib --bins
|
||||||
|
- run: cargo clippy --verbose --all-features -- -D warnings
|
||||||
|
- run: cargo fmt --verbose -- --check
|
||||||
|
Loading…
Reference in New Issue
Block a user