NO-ISSUE: drone.yml modified
	
		
			
	
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
					Details
				
			
		
	
				
					
				
			
				
	
				continuous-integration/drone/push Build is passing
				
					Details
				
			
		
	This commit is contained in:
		
							parent
							
								
									164cc74e8f
								
							
						
					
					
						commit
						dd6ea6b73b
					
				
							
								
								
									
										13
									
								
								.drone.yml
								
								
								
								
							
							
						
						
									
										13
									
								
								.drone.yml
								
								
								
								
							|  | @ -3,34 +3,35 @@ type: docker | |||
| name: go-lib/util | ||||
| environment: | ||||
|   VERSION: development | ||||
| workspace: | ||||
|   base: /go | ||||
| #  path: src/github.com/octocat/hello-world | ||||
| 
 | ||||
| steps: | ||||
| - name: prepare | ||||
|   image: golang:1.25.1 | ||||
|   image: golang | ||||
|   commands: | ||||
|     - mkdir -p .build | ||||
|     - go get -v ./... | ||||
|     - go install gotest.tools/gotestsum@v1.13.0 | ||||
|     - go install golang.org/x/vuln/cmd/govulncheck@latest | ||||
| 
 | ||||
| - name: test | ||||
|   image: golang:1.25.1 | ||||
|   image: golang | ||||
|   commands: | ||||
|     - mkdir -p .build | ||||
|     - gotestsum --format testname --junitfile .build/unittests.xml -- -coverprofile=.build/coverage.txt ./...  | ||||
|     - govulncheck ./... | ||||
|   depends_on: | ||||
|     - prepare | ||||
| 
 | ||||
| - name: vulncheck | ||||
|   image: golang:1.25.1 | ||||
|   image: golang | ||||
|   commands: | ||||
|     - govulncheck ./... | ||||
|   depends_on: | ||||
|     - prepare | ||||
| 
 | ||||
| - name: publish | ||||
|   image: golang:1.25.1 | ||||
|   image: golang | ||||
|   commands: | ||||
|     - echo "Publishing not implemented yet" | ||||
|   when: | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue