engage_earn_api/ci/lint.yml
Mitchell Marino 9ed85181ee add caches
2022-12-19 17:57:44 -06:00

24 lines
288 B
YAML

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