musichoard/.gitea/workflows/gitea-ci.yaml
Wojciech Kozlowski b1cf5d621d
All checks were successful
Cargo CI / Pipeline (push) Successful in 1m3s
Cargo CI / Pipeline (pull_request) Successful in 1m7s
Add CI to repository (#80)
Closes #77

Reviewed-on: #80
2024-01-06 11:14: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