platform: linux image_resource: type: registry-image source: {repository: rust} inputs: - name: repo run: # path: cargo # args: ["fmt", "--", "--check"] # dir: "repo" # TODO: create an image with cargo check already installed path: sh args: - -exc - | rustup component add rustfmt cargo fmt -- --check