build: Check feature combinations

This commit is contained in:
Dmitry Dygalo 2022-04-21 17:12:17 +02:00 committed by Dmitry Dygalo
parent 233e1a0a41
commit bad741f771
1 changed files with 16 additions and 0 deletions

View File

@ -165,3 +165,19 @@ jobs:
components: clippy
- run: cargo clippy --all-targets --all-features -- -D warnings
working-directory: ./jsonschema
features:
name: Check features
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: true
- uses: actions-rs/toolchain@v1
with:
profile: minimal
toolchain: stable
override: true
- uses: taiki-e/install-action@cargo-hack
- run: cargo hack check --feature-powerset --lib
working-directory: ./jsonschema