From 17d3cf450438b7c5274c0ca58dcded379f3b5355 Mon Sep 17 00:00:00 2001 From: Filip Tibell Date: Mon, 28 Apr 2025 22:14:44 +0200 Subject: [PATCH] Migrate to cargo nextest in ci --- .github/workflows/ci.yaml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3891fdf..ad02ec2 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -2,15 +2,16 @@ name: CI on: push: - pull_request: workflow_dispatch: defaults: run: shell: bash -jobs: +env: + CARGO_TERM_COLOR: always +jobs: fmt: name: Check formatting runs-on: ubuntu-latest @@ -79,23 +80,23 @@ jobs: components: clippy targets: ${{ matrix.cargo-target }} + - name: Install nextest + uses: taiki-e/install-action@v2 + - name: Build run: | - cargo build \ - --workspace \ + cargo build --workspace \ --locked --all-features \ --target ${{ matrix.cargo-target }} - name: Lint run: | - cargo clippy \ - --workspace \ + cargo clippy --workspace \ --locked --all-features \ --target ${{ matrix.cargo-target }} - name: Test run: | - cargo test \ - --lib --workspace \ + cargo nextest run --lib \ --locked --all-features \ --target ${{ matrix.cargo-target }}