platform: linux image_resource: type: registry-image source: {repository: rust} # This should cache clippy caches: - path: "./.rustup/" - path: "./.cargo/" - path: "./target/" inputs: - name: repo run: path: sh args: - -exc - | rustup component add clippy cargo clippy dir: "repo"