*: make mix percentages all optional as long as present ones sum to 100 #79
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: test | |
on: | |
push: | |
branches: [ "master" ] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
check-build-test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: | | |
~/.cargo/bin/ | |
~/.cargo/registry/index/ | |
~/.cargo/registry/cache/ | |
~/.cargo/git/db/ | |
target/ | |
key: ${{ runner.os }}-cargo-${{ hashFiles('**/Cargo.toml') }} | |
- uses: baptiste0928/cargo-install@v3 | |
with: | |
crate: cargo-hack | |
- name: build | |
run: | | |
cargo build --verbose --release | |
cargo build --verbose --release --all-features | |
- name: test | |
run: | | |
cargo test --release | |
cargo hack test --each-feature --release | |
cargo test --release --all-features |