Check all feature combinations in the CI

pull/1/head
Dominik Nakamura 3 years ago
parent 6d32eba6b6
commit 86abb39cc0
No known key found for this signature in database
GPG Key ID: E4C6A749B2491910

@ -5,3 +5,6 @@ end_of_line = lf
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
[*.yml]
indent_size = 2

@ -5,6 +5,27 @@ on:
branches:
- main
jobs:
check:
name: Check
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Setup Rust
uses: actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- name: Install cargo-hack
uses: actions-rs/cargo@v1
with:
command: install
args: cargo-hack
- name: Check feature combinations
uses: actions-rs/cargo@v1
with:
command: hack
args: clippy --feature-powerset --no-dev-deps
test:
name: Test
runs-on: ${{ matrix.os }}

Loading…
Cancel
Save