committed by
							
								
								GitHub
							
						
					
				
				 12 changed files with 155 additions and 110 deletions
			
			
		@ -0,0 +1,7 @@ | 
				
			|||||
 | 
					ignored: | 
				
			||||
 | 
					  # disable explicit version for apt install | 
				
			||||
 | 
					  - DL3008 | 
				
			||||
 | 
					  # disable explicit version for apk install | 
				
			||||
 | 
					  - DL3018 | 
				
			||||
 | 
					trustedRegistries: | 
				
			||||
 | 
					  - docker.io | 
				
			||||
@ -1,11 +1,20 @@ | 
				
			|||||
dist: xenial | 
					dist: xenial | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					env: | 
				
			||||
 | 
					  global: | 
				
			||||
 | 
					    - HADOLINT_VERSION=1.17.1 | 
				
			||||
 | 
					
 | 
				
			||||
language: rust | 
					language: rust | 
				
			||||
rust: nightly | 
					rust: nightly | 
				
			||||
cache: cargo | 
					cache: cargo | 
				
			||||
 | 
					
 | 
				
			||||
 | 
					before_install: | 
				
			||||
 | 
					  - sudo curl -L https://github.com/hadolint/hadolint/releases/download/v$HADOLINT_VERSION/hadolint-$(uname -s)-$(uname -m) -o /usr/local/bin/hadolint | 
				
			||||
 | 
					  - sudo chmod +rx /usr/local/bin/hadolint | 
				
			||||
 | 
					
 | 
				
			||||
# Nothing to install | 
					# Nothing to install | 
				
			||||
install: true | 
					install: true | 
				
			||||
script: | 
					script: | 
				
			||||
 | 
					- git ls-files --exclude='Dockerfile*' --ignored | xargs --max-lines=1 hadolint | 
				
			||||
- cargo build --features "sqlite" | 
					- cargo build --features "sqlite" | 
				
			||||
- cargo build --features "mysql" | 
					- cargo build --features "mysql" | 
				
			||||
 | 
				
			|||||
					Loading…
					
					
				
		Reference in new issue