mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-04 23:31:57 +00:00
41bc49af36
Those were not installing Rust but configuring it via rustup, and those configurations were done on `stable` toolchain which is not what we use (see rust-toolchain.toml) co-authored-by: Piotr <piotr@zed.dev>
27 lines
722 B
YAML
27 lines
722 B
YAML
name: "Run tests"
|
|
description: "Runs the tests"
|
|
|
|
runs:
|
|
using: "composite"
|
|
steps:
|
|
- name: Install Rust
|
|
shell: bash -euxo pipefail {0}
|
|
run: |
|
|
cargo install cargo-nextest
|
|
|
|
- name: Install Node
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: "18"
|
|
|
|
- name: Limit target directory size
|
|
shell: bash -euxo pipefail {0}
|
|
run: script/clear-target-dir-if-larger-than 100
|
|
|
|
- name: Run check
|
|
shell: bash -euxo pipefail {0}
|
|
run: cargo check --tests --workspace
|
|
|
|
- name: Run tests
|
|
shell: bash -euxo pipefail {0}
|
|
run: cargo nextest run --workspace --no-fail-fast
|