fix: Switch credo job to clone strategy
This commit is contained in:
		
							parent
							
								
									adfade5e1c
								
							
						
					
					
						commit
						e9be63add9
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -46,11 +46,12 @@ credo:
 | 
				
			||||||
    paths:
 | 
					    paths:
 | 
				
			||||||
      - _build/
 | 
					      - _build/
 | 
				
			||||||
      - deps/
 | 
					      - deps/
 | 
				
			||||||
 | 
					  variables:
 | 
				
			||||||
 | 
					    GIT_STRATEGY: clone
 | 
				
			||||||
  script:
 | 
					  script:
 | 
				
			||||||
    - mix local.hex --force
 | 
					    - mix local.hex --force
 | 
				
			||||||
    - mix local.rebar --force
 | 
					    - mix local.rebar --force
 | 
				
			||||||
    - mix deps.get
 | 
					    - mix deps.get
 | 
				
			||||||
    - git fetch $CI_DEFAULT_BRANCH
 | 
					 | 
				
			||||||
    - mix credo diff $CI_DEFAULT_BRANCH --all
 | 
					    - mix credo diff $CI_DEFAULT_BRANCH --all
 | 
				
			||||||
 | 
					
 | 
				
			||||||
build_image_for_commit:
 | 
					build_image_for_commit:
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue