mirror of
https://github.com/lune-org/lune.git
synced 2025-05-04 10:43:57 +01:00
Migrate to cargo nextest in ci
This commit is contained in:
parent
1b8fee043e
commit
17d3cf4504
1 changed files with 9 additions and 8 deletions
17
.github/workflows/ci.yaml
vendored
17
.github/workflows/ci.yaml
vendored
|
@ -2,15 +2,16 @@ name: CI
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
pull_request:
|
|
||||||
workflow_dispatch:
|
workflow_dispatch:
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
run:
|
run:
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
jobs:
|
env:
|
||||||
|
CARGO_TERM_COLOR: always
|
||||||
|
|
||||||
|
jobs:
|
||||||
fmt:
|
fmt:
|
||||||
name: Check formatting
|
name: Check formatting
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
@ -79,23 +80,23 @@ jobs:
|
||||||
components: clippy
|
components: clippy
|
||||||
targets: ${{ matrix.cargo-target }}
|
targets: ${{ matrix.cargo-target }}
|
||||||
|
|
||||||
|
- name: Install nextest
|
||||||
|
uses: taiki-e/install-action@v2
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: |
|
run: |
|
||||||
cargo build \
|
cargo build --workspace \
|
||||||
--workspace \
|
|
||||||
--locked --all-features \
|
--locked --all-features \
|
||||||
--target ${{ matrix.cargo-target }}
|
--target ${{ matrix.cargo-target }}
|
||||||
|
|
||||||
- name: Lint
|
- name: Lint
|
||||||
run: |
|
run: |
|
||||||
cargo clippy \
|
cargo clippy --workspace \
|
||||||
--workspace \
|
|
||||||
--locked --all-features \
|
--locked --all-features \
|
||||||
--target ${{ matrix.cargo-target }}
|
--target ${{ matrix.cargo-target }}
|
||||||
|
|
||||||
- name: Test
|
- name: Test
|
||||||
run: |
|
run: |
|
||||||
cargo test \
|
cargo nextest run --lib \
|
||||||
--lib --workspace \
|
|
||||||
--locked --all-features \
|
--locked --all-features \
|
||||||
--target ${{ matrix.cargo-target }}
|
--target ${{ matrix.cargo-target }}
|
||||||
|
|
Loading…
Add table
Reference in a new issue