diff --git a/.circleci/config.yml b/.circleci/config.yml index 42feec2dd7..84df7481a2 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -82,6 +82,11 @@ commands: when: always apply-patches: steps: + - run: + name: Fail if service is previously patched + command: | + [[ -z $(cat Cargo.lock | grep "\[\[patch.unused\]\]") ]] + - run: name: Patch service command: |