From 225ad3978688c093f4670ec04352d465076f39d3 Mon Sep 17 00:00:00 2001 From: Jon Gjengset Date: Sat, 17 Sep 2022 12:31:58 -0700 Subject: [PATCH] Add first features workflow --- github/workflows/features.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 github/workflows/features.yml diff --git a/github/workflows/features.yml b/github/workflows/features.yml new file mode 100644 index 0000000..2d8c1fe --- /dev/null +++ b/github/workflows/features.yml @@ -0,0 +1,27 @@ +on: + push: + branches: [master] + pull_request: +name: cargo hack +jobs: + check: + runs-on: ubuntu-latest + steps: + - uses: actions-rs/toolchain@v1 + with: + profile: minimal + toolchain: stable + - uses: actions/checkout@v2 + with: + submodules: true + - name: Install cargo-hack + uses: actions-rs/install@v0.1 + with: + crate: cargo-hack + version: latest + use-tool-cache: true + - name: cargo hack + uses: actions-rs/cargo@v1 + with: + command: hack + args: --feature-powerset --exclude-no-default-features check