engage_earn_api/ci/test.yml
2023-01-11 23:33:03 -06:00

23 lines
336 B
YAML

platform: linux
image_resource:
type: registry-image
source: {repository: rust}
# move cargo's config directory to be ./.cargo-config/ and cache it
params:
CARGO_HOME: "./.cargo-config"
caches:
- path: "./repo/target"
- path: "./repo/.cargo-config"
inputs:
- name: repo
run:
path: cargo
args: ["test"]
dir: "repo"