diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index e97cb25..73d6974 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -26,7 +26,6 @@ jobs: strategy: matrix: rust: [msrv, latest] - features: [ no_std, std ] include: - os: ubuntu-latest target: x86_64-unknown-linux-gnu @@ -47,13 +46,11 @@ jobs: run: echo RUSTFLAGS='-Dwarnings' >> $GITHUB_ENV - run: rustup update - run: cargo version - - run: cargo build --target ${{ matrix.target }} - - name: Run tests with no_std - if: matrix.features == 'no_std' - run: cargo test --target ${{ matrix.target }} --no-default-features - - name: Run tests with std - if: matrix.features == 'std' - run: cargo test --target ${{ matrix.target }} --features std + - uses: stellar/binaries@v30 + with: + name: cargo-hack + version: 0.5.28 + - run: cargo-hack hack --feature-powerset --target ${{ matrix.sys.target }} publish-dry-run: if: startsWith(github.head_ref, 'release/')