Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion .github/workflows/base62.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,9 @@ jobs:
with:
toolchain: ${{ matrix.rust }}
- uses: Swatinem/rust-cache@v2
- uses: taiki-e/install-action@nextest
- uses: taiki-e/install-action@v2 # Updated to v2
with:
tool: nextest
- name: Run tests (no_std)
run: cargo nextest run --no-default-features
- name: Run tests (default/alloc)
Expand All @@ -56,6 +58,29 @@ jobs:
- name: Run doc tests (std)
run: cargo test --doc --features std

miri:
name: Miri
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Rust nightly and miri
uses: dtolnay/rust-toolchain@nightly
with:
components: miri
- uses: taiki-e/install-action@v2
with:
tool: nextest
- name: Setup miri
run: cargo miri setup
- name: Run tests under miri with nextest (no_std)
run: cargo miri nextest run --no-default-features
- name: Run tests under miri with nextest (all features)
run: cargo miri nextest run --all-features
- name: Run doctests under miri (no_std)
run: cargo miri test --doc --no-default-features
- name: Run doctests under miri (all features)
run: cargo miri test --doc --all-features

fmt:
name: Rustfmt
runs-on: ubuntu-latest
Expand Down
Loading