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 | name: go-lib/util | ||||||
| environment: | environment: | ||||||
|   VERSION: development |   VERSION: development | ||||||
|  | workspace: | ||||||
|  |   base: /go | ||||||
|  | #  path: src/github.com/octocat/hello-world | ||||||
| 
 | 
 | ||||||
| steps: | steps: | ||||||
| - name: prepare | - name: prepare | ||||||
|   image: golang:1.25.1 |   image: golang | ||||||
|   commands: |   commands: | ||||||
|     - mkdir -p .build |  | ||||||
|     - go get -v ./... |     - go get -v ./... | ||||||
|     - go install gotest.tools/gotestsum@v1.13.0 |     - go install gotest.tools/gotestsum@v1.13.0 | ||||||
|     - go install golang.org/x/vuln/cmd/govulncheck@latest |     - go install golang.org/x/vuln/cmd/govulncheck@latest | ||||||
| 
 | 
 | ||||||
| - name: test | - name: test | ||||||
|   image: golang:1.25.1 |   image: golang | ||||||
|   commands: |   commands: | ||||||
|     - mkdir -p .build |     - mkdir -p .build | ||||||
|     - gotestsum --format testname --junitfile .build/unittests.xml -- -coverprofile=.build/coverage.txt ./...  |     - gotestsum --format testname --junitfile .build/unittests.xml -- -coverprofile=.build/coverage.txt ./...  | ||||||
|     - govulncheck ./... |  | ||||||
|   depends_on: |   depends_on: | ||||||
|     - prepare |     - prepare | ||||||
| 
 | 
 | ||||||
| - name: vulncheck | - name: vulncheck | ||||||
|   image: golang:1.25.1 |   image: golang | ||||||
|   commands: |   commands: | ||||||
|     - govulncheck ./... |     - govulncheck ./... | ||||||
|   depends_on: |   depends_on: | ||||||
|     - prepare |     - prepare | ||||||
| 
 | 
 | ||||||
| - name: publish | - name: publish | ||||||
|   image: golang:1.25.1 |   image: golang | ||||||
|   commands: |   commands: | ||||||
|     - echo "Publishing not implemented yet" |     - echo "Publishing not implemented yet" | ||||||
|   when: |   when: | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue