engage_earn_api/ci/check-fmt.yml
Mitchell Marino c646691764 update ci
2022-12-15 20:23:18 -06:00

23 lines
330 B
YAML

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