Set cargo target dir.

This is to avoid writing to the target dir in the repo folder.
main
Tom Alexander 4 months ago
parent 4447f1ed4a
commit 134444b2c3
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

@ -109,6 +109,9 @@ spec:
workingDir: "$(workspaces.source.path)"
command: [cargo, test, --no-fail-fast]
args: []
env:
- name: CARGO_TARGET_DIR
value: /target
workspaces:
- name: source
workspace: git-source

Loading…
Cancel
Save