build: Check feature combinations
This commit is contained in:
parent
233e1a0a41
commit
bad741f771
|
@ -165,3 +165,19 @@ jobs:
|
||||||
components: clippy
|
components: clippy
|
||||||
- run: cargo clippy --all-targets --all-features -- -D warnings
|
- run: cargo clippy --all-targets --all-features -- -D warnings
|
||||||
working-directory: ./jsonschema
|
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
|
||||||
|
|
Loading…
Reference in New Issue