musichoard/.gitea/workflows/gitea-ci.yaml
Wojciech Kozlowski 0e67f6e4f9
Some checks failed
Cargo CI / Pipeline (pull_request) Failing after 2m10s
Expand testing and linting
2024-01-06 10:56:30 +01:00

22 lines
528 B
YAML

name: Cargo CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
pipeline:
name: Pipeline
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 --lib --bins --no-fail-fast
- run: cargo clippy --verbose --all-features --all-targets -- -D warnings
- run: cargo fmt --verbose -- --check