Skip to content

Commit a9cb896

Browse files
committed
encrypt will keep metadata; add benches
1 parent 5714b0f commit a9cb896

File tree

8 files changed

+404
-236
lines changed

8 files changed

+404
-236
lines changed

.github/workflows/test.yaml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,23 @@ name: Test
22

33
on:
44
pull_request:
5+
workflow_dispatch:
6+
tag:
7+
types:
8+
- created
59

610
jobs:
711
test:
812
name: cargo test
913
runs-on: ubuntu-latest
14+
env:
15+
SCCACHE_GHA_ENABLED: "true"
16+
RUSTC_WRAPPER: "sccache"
1017
steps:
1118
- uses: actions/checkout@v4
12-
- uses: dtolnay/rust-toolchain@nightly
13-
- run: cargo test --all-features -- --test-threads=1
19+
- uses: cargo-bins/cargo-binstall@main
20+
- run: cargo binstall -y --no-symlinks cargo-nextest
21+
- name: Setup sccache-cache
22+
uses: mozilla-actions/sccache-action@v0.0.5
23+
- uses: dtolnay/rust-toolchain@stable
24+
- run: cargo nextest run && cargo test --doc

0 commit comments

Comments
 (0)