apiVersion: argoproj.io/v1alpha1 kind: ClusterWorkflowTemplate metadata: name: unit-tests-template spec: entrypoint: unit-tests templates: - name: unit-tests container: image: golang:1.23.2 command: [sh, -c] args: - | set -e cd /shared-data/repo go test ./... -v echo unit-test task completed volumeMounts: - name: shared-data mountPath: /shared-data