Reduce linting build time
Created by: cmichi
From https://github.com/paritytech/cargo-contract/pull/431#issuecomment-1050969130:
Is that possible to use
CARGO_TARGET_DIR
withdylint
to not build it each time?
We should look into reducing the build time of the linting step.