engage_earn_api/ci/lint.yml
2023-01-11 21:23:23 -06:00

25 lines
308 B
YAML

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"