From c2d634ac9e98c386896acc3d15031c789f786d89 Mon Sep 17 00:00:00 2001 From: mooman219 Date: Mon, 13 May 2024 15:59:39 -0700 Subject: [PATCH] Update actions script to comply with new feature constraints --- .github/workflows/build.yml | 7 +++++-- .github/workflows/format.yml | 4 ++-- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index c83ba3b9..77856802 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,8 +10,11 @@ jobs: targets: wasm32-unknown-unknown - uses: actions/checkout@master - - name: Build src (native) (no default features) - run: cargo build --no-default-features --verbose + - name: Build src (native) (no default features, std) + run: cargo build --no-default-features --features std --verbose + + - name: Build src (native) (no default features, hashbrown) + run: cargo build --no-default-features --features hashbrown --verbose - name: Build src (native) (all features) run: cargo build --all-features --verbose diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index afff38e4..ee6414db 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -12,8 +12,8 @@ jobs: - name: Format src run: cargo fmt --all -- --check - - name: Clippy src (no default features) - run: cargo clippy --no-default-features -- -D warnings + - name: Clippy src (no default features, hashbrown) + run: cargo clippy --no-default-features --features hashbrown -- -D warnings - name: Clippy src (all features) run: cargo clippy --all-features -- -D warnings