Skip to content

Install cargo-run-bin in CI #5

Install cargo-run-bin in CI

Install cargo-run-bin in CI #5

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
jobs:
ci:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Install Rust toolchain
uses: actions-rust-lang/setup-rust-toolchain@v1
- name: Install cargo-run-bin
run: cargo install cargo-run-bin
- name: Check formatting
run: cargo fmt --all -- --check
- name: Clippy
run: cargo clippy --frozen
- name: Run tests with coverage
run: cargo test-cov
- name: Run doc tests
run: cargo test --doc
- name: Build
run: cargo build --release