fix: Fetch main branch before credo diff

This commit is contained in:
Robert Prehn 2021-07-20 16:21:49 -05:00
parent 1cb6ef2c33
commit adfade5e1c

View file

@ -50,7 +50,8 @@ credo:
- mix local.hex --force
- mix local.rebar --force
- mix deps.get
- mix credo diff master --all
- git fetch $CI_DEFAULT_BRANCH
- mix credo diff $CI_DEFAULT_BRANCH --all
build_image_for_commit:
stage: test