engage_earn_api/ci/lint.yml
2022-12-18 21:04:23 -06:00

23 lines
268 B
YAML

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