Skip to content

Commit 64d671d

Browse files
authored
ci: use cargo-hack and add --release tests (#188)
1 parent 437be17 commit 64d671d

6 files changed

Lines changed: 18 additions & 18 deletions

File tree

.github/workflows/belt-mac.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ jobs:
5757
- uses: dtolnay/rust-toolchain@master
5858
with:
5959
toolchain: ${{ matrix.rust }}
60-
- run: cargo test --no-default-features
61-
- run: cargo test
62-
- run: cargo test --all-features
60+
- uses: RustCrypto/actions/cargo-hack-install@master
61+
- run: cargo hack test --feature-powerset
62+
- run: cargo test --release --all-features

.github/workflows/cbc-mac.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,6 @@ jobs:
5858
- uses: dtolnay/rust-toolchain@master
5959
with:
6060
toolchain: ${{ matrix.rust }}
61-
- run: cargo test --no-default-features
62-
- run: cargo test
63-
- run: cargo test --all-features
61+
- uses: RustCrypto/actions/cargo-hack-install@master
62+
- run: cargo hack test --feature-powerset
63+
- run: cargo test --release --all-features

.github/workflows/cmac.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ jobs:
5757
- uses: dtolnay/rust-toolchain@master
5858
with:
5959
toolchain: ${{ matrix.rust }}
60-
- run: cargo test --no-default-features
61-
- run: cargo test
62-
- run: cargo test --all-features
60+
- uses: RustCrypto/actions/cargo-hack-install@master
61+
- run: cargo hack test --feature-powerset
62+
- run: cargo test --release --all-features

.github/workflows/hmac.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ jobs:
5757
- uses: dtolnay/rust-toolchain@master
5858
with:
5959
toolchain: ${{ matrix.rust }}
60-
- run: cargo test --no-default-features
61-
- run: cargo test
62-
- run: cargo test --all-features
60+
- uses: RustCrypto/actions/cargo-hack-install@master
61+
- run: cargo hack test --feature-powerset
62+
- run: cargo test --release --all-features

.github/workflows/pmac.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ jobs:
5757
- uses: dtolnay/rust-toolchain@master
5858
with:
5959
toolchain: ${{ matrix.rust }}
60-
- run: cargo test --no-default-features
61-
- run: cargo test
62-
- run: cargo test --all-features
60+
- uses: RustCrypto/actions/cargo-hack-install@master
61+
- run: cargo hack test --feature-powerset
62+
- run: cargo test --release --all-features

.github/workflows/retail-mac.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,6 @@ jobs:
5757
- uses: dtolnay/rust-toolchain@master
5858
with:
5959
toolchain: ${{ matrix.rust }}
60-
- run: cargo test --no-default-features
61-
- run: cargo test
62-
- run: cargo test --all-features
60+
- uses: RustCrypto/actions/cargo-hack-install@master
61+
- run: cargo hack test --feature-powerset
62+
- run: cargo test --release --all-features

0 commit comments

Comments
 (0)