From bad741f77184c332c4a0870113058898431d3468 Mon Sep 17 00:00:00 2001 From: Dmitry Dygalo Date: Thu, 21 Apr 2022 17:12:17 +0200 Subject: [PATCH] build: Check feature combinations --- .github/workflows/build.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 133dd8c..3690bd3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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