rename COMPONENTS #95
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install latest stable Rust | |
uses: dtolnay/rust-toolchain@stable | |
- name: Test no default features | |
run: cargo test --no-default-features | |
- name: Test all features | |
run: cargo test --all --all-features | |
- uses: taiki-e/install-action@cargo-hack | |
- name: Check all feature combinations | |
run: cargo hack check --feature-powerset --no-dev-deps --exclude-features unstable-experimental,defmt-03,grb,argb --exclude-all-features --exclude-no-default-features | |
- name: Test individual features | |
run: cargo hack test --each-feature --exclude-features unstable-experimental --exclude-all-features --exclude-no-default-features |