Skip to content

Commit

Permalink
chore(ci): check each feature of codetable with cargo hack
Browse files Browse the repository at this point in the history
  • Loading branch information
bishopcheckmate committed Jan 7, 2024
1 parent 0206859 commit 76cb3e8
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,28 @@ jobs:
run: cargo deny check
shell: bash

# todo: run on all crates
cargo-hack-codetable:
name: Cargo Hack - codetable
runs-on: ubuntu-latest
steps:
- name: Checkout Sources
uses: actions/checkout@v4

- name: Install Rust Toolchain
uses: dtolnay/rust-toolchain@stable

- name: Install cargo-hack
uses: taiki-e/install-action@v2
with:
tool: cargo-hack

- name: Cargo Hack - Check each feature
run: cargo hack check -p multihash-codetable --each-feature
shell: bash
env:
RUSTFLAGS: -D warnings

semver-checks:
runs-on: ubuntu-latest
steps:
Expand Down

0 comments on commit 76cb3e8

Please sign in to comment.