Skip to content

ci: use cargo-hack to run checks and tests over all features #208

ci: use cargo-hack to run checks and tests over all features

ci: use cargo-hack to run checks and tests over all features #208

Workflow file for this run

name: Rust
on:
push:
pull_request:
branches: [ "main" ]
env:
CARGO_TERM_COLOR: always
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install cargo-hack
uses: taiki-e/install-action@cargo-hack
- name: Run checks
run: cargo hack check --rust-version --each-feature --no-dev-deps
- name: Build
run: cargo build -r --verbose
- name: Run tests
run: cargo hack test --verbose --each-feature