diff --git a/Earthfile b/Earthfile index 8220a69..fd51803 100644 --- a/Earthfile +++ b/Earthfile @@ -19,7 +19,7 @@ rust-base: check-clean-git-history: FROM +rust-base - RUN cargo install clean_git_history --version 0.1.2 + RUN cargo install clean_git_history --version 0.1.2 --locked DO +COPY_METADATA ARG from_reference="origin/HEAD" RUN ./ci/check-clean-git-history.sh --from-reference "${from_reference}" @@ -82,7 +82,7 @@ fix-formatting: check-conventional-commits-linting: FROM +rust-base - RUN cargo install conventional_commits_linter --version 0.12.3 + RUN cargo install conventional_commits_linter --version 0.12.3 --locked DO +COPY_METADATA ARG from_reference="origin/HEAD" RUN ./ci/check-conventional-commits-linting.sh --from-reference "${from_reference}"