mirror of
https://github.com/danbulant/oxc
synced 2026-05-24 12:21:58 +00:00
ci: use faster cargo-nextest to run tests
This commit is contained in:
parent
95a2382860
commit
d4af69930c
1 changed files with 10 additions and 5 deletions
15
.github/workflows/check.yaml
vendored
15
.github/workflows/check.yaml
vendored
|
|
@ -30,7 +30,7 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install toolchain
|
||||
- name: Install Toolchain
|
||||
run: rustup show
|
||||
|
||||
- name: Run rustfmt
|
||||
|
|
@ -43,7 +43,7 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install toolchain
|
||||
- name: Install Toolchain
|
||||
run: rustup show
|
||||
|
||||
- name: Cache
|
||||
|
|
@ -73,7 +73,7 @@ jobs:
|
|||
- name: Checkout PR Branch
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install toolchain
|
||||
- name: Install Toolchain
|
||||
run: rustup show
|
||||
|
||||
- name: Install cargo-udeps
|
||||
|
|
@ -98,16 +98,21 @@ jobs:
|
|||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Install toolchain
|
||||
- name: Install Toolchain
|
||||
run: rustup show
|
||||
|
||||
- name: Install cargo-nextest
|
||||
uses: taiki-e/install-action@v2
|
||||
with:
|
||||
tool: cargo-nextest
|
||||
|
||||
- name: Cache
|
||||
uses: Swatinem/rust-cache@v2
|
||||
with:
|
||||
shared-key: check
|
||||
|
||||
- name: Run tests on ${{ matrix.os }}
|
||||
run: cargo test --workspace
|
||||
run: cargo nextest run
|
||||
|
||||
documentation:
|
||||
if: github.ref == 'refs/heads/main'
|
||||
|
|
|
|||
Loading…
Reference in a new issue