Skip to content

Use cargo hack to test feature powerset #24

Use cargo hack to test feature powerset

Use cargo hack to test feature powerset #24

Workflow file for this run

name: Checks
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
env:
CARGO_TERM_COLOR: always
jobs:
roadster_feature_powerset:
name: Feature powerset
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install `cargo hack`
run: cargo binstall cargo-hack
- name: Test
run: cargo hack test --no-fail-fast --feature-powerset --no-dev-deps --workspace
- name: Check
run: cargo hack check --feature-powerset --no-dev-deps --workspace
- name: Clippy
run: cargo hack clippy --workspace --all-targets --feature-powerset --no-dev-deps -- -D warnings
check_formatting:
name: Formatting
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Formatting
run: cargo fmt --all --check
check-docs:
name: Docs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Docs
env:
RUSTDOCFLAGS: "-D rustdoc::all -A rustdoc::private-doc-tests"
run: cargo doc --all-features --no-deps