engage_earn_api/ci/test.yml
2023-01-11 23:38:21 -06:00

24 lines
390 B
YAML

platform: linux
image_resource:
type: registry-image
source: {repository: rust}
# move rust's config directories to be in the current directory, so they can be cached.
params:
CARGO_HOME: "./.cargo-config"
RUSTUP_HOME: "./.rustup-config"
caches:
- path: "./repo/target"
- path: "./repo/.cargo-config"
inputs:
- name: repo
run:
path: cargo
args: ["test"]
dir: "repo"