summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/pull-request-checks.yml18
1 files changed, 16 insertions, 2 deletions
diff --git a/.github/workflows/pull-request-checks.yml b/.github/workflows/pull-request-checks.yml
index 5cd42df0..c47f5aea 100644
--- a/.github/workflows/pull-request-checks.yml
+++ b/.github/workflows/pull-request-checks.yml
@@ -192,11 +192,17 @@ jobs:
uses: actions/checkout@v3
- name: enable toolchain via github action
- uses: dtolnay/rust-toolchain@1.58.1
+ uses: dtolnay/rust-toolchain@1.63.0
- name: Install mold linker
uses: rui314/setup-mold@v1
+ - name: Install cargo-nextest
+ uses: baptiste0928/cargo-install@v1
+ with:
+ crate: cargo-nextest
+ args: --locked
+
- name: Enable cache
# https://github.com/marketplace/actions/rust-cache
uses: Swatinem/rust-cache@v2
@@ -205,8 +211,16 @@ jobs:
uses: actions-rs/cargo@v1
# https://github.com/marketplace/actions/rust-cargo
with:
+ command: nextest
+ args: run --no-fail-fast --all-features
+
+ - name: Cargo doctests
+ uses: actions-rs/cargo@v1
+ # https://github.com/marketplace/actions/rust-cargo
+ with:
command: test
- args: --no-fail-fast --all-features
+ args: --doc --no-fail-fast --all-features
+
cargo-build:
name: Run cargo build