mirror of https://github.com/linkerd/linkerd2.git
Stop running "cargo check" in CI (#285)
* Stop running "cargo check" in CI Signed-off-by: Kevin Lingerfelt <kl@buoyant.io> * Attempt to clear cargo cache Signed-off-by: Kevin Lingerfelt <kl@buoyant.io> * Remove cache clearing step Signed-off-by: Kevin Lingerfelt <kl@buoyant.io>
This commit is contained in:
parent
95b91c5976
commit
447ee142c0
|
@ -20,12 +20,10 @@ jobs:
|
|||
- stage: test
|
||||
language: rust
|
||||
rust: stable
|
||||
cache:
|
||||
cargo: true
|
||||
cache: cargo
|
||||
install:
|
||||
- cargo fetch --locked
|
||||
script:
|
||||
- cargo check --frozen
|
||||
- cargo test --frozen
|
||||
|
||||
- language: go
|
||||
|
|
10
BUILD.md
10
BUILD.md
|
@ -346,9 +346,17 @@ It supports two environment variables:
|
|||
|
||||
### Testing
|
||||
|
||||
To build the Rust code and run tests, run:
|
||||
|
||||
```bash
|
||||
cargo test
|
||||
```
|
||||
|
||||
To analyze the Rust code and report errors, without building object files or
|
||||
running tests, run:
|
||||
|
||||
```bash
|
||||
cargo check
|
||||
cargo test
|
||||
```
|
||||
|
||||
# Dependencies
|
||||
|
|
Loading…
Reference in New Issue