2024-01-06 10:43:44 +01:00
|
|
|
name: Cargo CI
|
2024-01-06 09:59:10 +01:00
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ main ]
|
|
|
|
pull_request:
|
|
|
|
branches: [ main ]
|
|
|
|
|
|
|
|
env:
|
|
|
|
CARGO_TERM_COLOR: always
|
|
|
|
|
|
|
|
jobs:
|
2024-01-06 10:43:44 +01:00
|
|
|
pipeline:
|
|
|
|
name: Pipeline
|
2024-01-06 10:32:56 +01:00
|
|
|
container: docker.io/drrobot/musichoard-ci:rust-1.75
|
2024-01-06 09:59:10 +01:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- run: cargo build --verbose --all-features --all-targets
|
2024-01-06 10:32:56 +01:00
|
|
|
- run: cargo test --verbose --all-features --lib --bins
|
2024-01-06 10:43:44 +01:00
|
|
|
- run: cargo clippy --verbose --all-features -- -D warnings
|
|
|
|
- run: cargo fmt --verbose -- --check
|