feat!: Add a zero-deps example #126
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: Tests | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
merge_group: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Run tests (including doctests) | |
run: cargo test -F full | |
- name: Install cargo-hack | |
uses: taiki-e/install-action@v2 | |
with: | |
tool: cargo-hack | |
- name: Check a few configurations | |
run: | | |
cargo hack --feature-powerset check | |
- name: Run examples | |
run: | | |
pushd merde | |
cargo run --features full --example simple | |
cargo run --features full --example mixed | |
cargo run --features full --example into_static | |
popd |