Skip to content

Commit a8aa892

Browse files
committed
Support MSRV 1.60 and re-organize into workspace
1 parent 0d54d2b commit a8aa892

19 files changed

Lines changed: 512 additions & 527 deletions

File tree

.github/workflows/rust.yml

Lines changed: 8 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -19,29 +19,20 @@ jobs:
1919
- name: Install cargo-hack
2020
run: cargo install cargo-hack
2121
- name: Build
22-
run: cargo hack build --verbose --release --feature-powerset
22+
run: cargo hack build --manifest-path cold-string/Cargo.toml --verbose --release --feature-powerset --version-range 1.60..
23+
- name: Check
24+
run: cargo hack check --manifest-path cold-string/Cargo.toml --verbose --release --feature-powerset --version-range 1.60..
25+
- name: Test No Exposed Provenance
26+
run: cargo +1.74 hack test --manifest-path cold-string/Cargo.toml --verbose --release --feature-powerset
2327
- name: Tests
24-
run: cargo hack test --verbose --release --feature-powerset
28+
run: cargo hack test --manifest-path cold-string/Cargo.toml --verbose --release --feature-powerset
2529
- name: Install nightly + Miri
2630
run: |
2731
rustup toolchain install nightly
2832
rustup component add miri --toolchain nightly
2933
- name: Run Miri
3034
run: |
31-
cargo +nightly miri test --test property
35+
cargo +nightly miri test --manifest-path cold-string/Cargo.toml --test property
3236
- name: Run Miri Unknown
3337
run: |
34-
cargo +nightly miri test --test property --target mips-unknown-linux-gnu
35-
msrv:
36-
runs-on: ubuntu-latest
37-
steps:
38-
- uses: actions/checkout@v4
39-
- uses: actions-rs/toolchain@v1
40-
with:
41-
toolchain: "1.84"
42-
override: true
43-
- name: Install cargo-hack
44-
run: cargo +1.84 install cargo-hack --version 0.6.37 --force --locked
45-
- name: Build
46-
run: cargo +1.84 hack build --verbose --release --feature-powerset
47-
38+
cargo +nightly miri test --manifest-path cold-string/Cargo.toml --test property --target mips-unknown-linux-gnu

0 commit comments

Comments
 (0)