name: Cargo CI on: push: branches: [ main ] pull_request: branches: [ main ] env: CARGO_TERM_COLOR: always BEETSDIR: ./ jobs: build_and_test: name: Build and Test 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 --all-targets --no-fail-fast lint: name: Lint container: docker.io/drrobot/musichoard-ci:rust-1.75 steps: - uses: actions/checkout@v3 - run: cargo clippy --verbose --all-features --all-targets -- -D warnings - run: cargo fmt --verbose -- --check