mirror of
https://github.com/LemmyNet/activitypub-federation-rust.git
synced 2025-01-09 06:15:25 +00:00
Dont redownload deps between CI steps
This commit is contained in:
parent
0c6dd72328
commit
589cde3026
1 changed files with 6 additions and 0 deletions
|
@ -15,11 +15,15 @@ steps:
|
||||||
|
|
||||||
- name: cargo check
|
- name: cargo check
|
||||||
image: rust:1.61-bullseye
|
image: rust:1.61-bullseye
|
||||||
|
environment:
|
||||||
|
CARGO_HOME: .cargo
|
||||||
commands:
|
commands:
|
||||||
- cargo check --all --all-targets
|
- cargo check --all --all-targets
|
||||||
|
|
||||||
- name: cargo clippy
|
- name: cargo clippy
|
||||||
image: rust:1.65-bullseye
|
image: rust:1.65-bullseye
|
||||||
|
environment:
|
||||||
|
CARGO_HOME: .cargo
|
||||||
commands:
|
commands:
|
||||||
- rustup component add clippy
|
- rustup component add clippy
|
||||||
- cargo clippy --workspace --tests --all-targets --all-features --
|
- cargo clippy --workspace --tests --all-targets --all-features --
|
||||||
|
@ -33,6 +37,7 @@ steps:
|
||||||
- name: cargo test
|
- name: cargo test
|
||||||
image: rust:1.61-bullseye
|
image: rust:1.61-bullseye
|
||||||
environment:
|
environment:
|
||||||
|
CARGO_HOME: .cargo
|
||||||
RUST_BACKTRACE: 1
|
RUST_BACKTRACE: 1
|
||||||
commands:
|
commands:
|
||||||
- cargo test --workspace --no-fail-fast
|
- cargo test --workspace --no-fail-fast
|
||||||
|
@ -40,6 +45,7 @@ steps:
|
||||||
- name: cargo run
|
- name: cargo run
|
||||||
image: rust:1.61-bullseye
|
image: rust:1.61-bullseye
|
||||||
environment:
|
environment:
|
||||||
|
CARGO_HOME: .cargo
|
||||||
RUST_BACKTRACE: 1
|
RUST_BACKTRACE: 1
|
||||||
commands:
|
commands:
|
||||||
- cargo run -p activitypub_federation --example federation
|
- cargo run -p activitypub_federation --example federation
|
||||||
|
|
Loading…
Reference in a new issue