Add CI to repository #80

Merged
wojtek merged 7 commits from 77---add-ci-to-repository into main 2024-01-06 11:14:30 +01:00
Showing only changes of commit 3137fffac6 - Show all commits

View File

@ -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