Skip to content

Commit

Permalink
ci: check whether Cargo.lock...
Browse files Browse the repository at this point in the history
...is shipped already with patched dependencies.
  • Loading branch information
iulianbarbu committed Mar 22, 2023
1 parent abd17fe commit f708ce3
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit f708ce3

Please sign in to comment.