NO-ISSUE: A Test
	
		
			
	
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is failing
				
					Details
				
			
		
	
				
					
				
			
				
	
				continuous-integration/drone/push Build is failing
				
					Details
				
			
		
	This commit is contained in:
		
							parent
							
								
									86f12df1c0
								
							
						
					
					
						commit
						3621c45ab9
					
				
							
								
								
									
										58
									
								
								.drone.yml
								
								
								
								
							
							
						
						
									
										58
									
								
								.drone.yml
								
								
								
								
							|  | @ -7,41 +7,41 @@ environment: | ||||||
| 
 | 
 | ||||||
| steps: | steps: | ||||||
| - name: prepare | - name: prepare | ||||||
|   image: golang:${GOVERSION} |   image: golang:1.25.1 | ||||||
|   commands: |   commands: | ||||||
|     - mkdir -p .build |     - mkdir -p .build | ||||||
|     - go get -v ./... |     - go get -v ./... | ||||||
|     - go install gotest.tools/gotestsum@1.13.0 |     - go install gotest.tools/gotestsum@1.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:${GOVERSION} | #   image: golang:${GOVERSION} | ||||||
|   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 ./... | #     - govulncheck ./... | ||||||
|   depends_on: | #   depends_on: | ||||||
|     - prepare | #     - prepare | ||||||
| 
 | 
 | ||||||
| - name: vulncheck | # - name: vulncheck | ||||||
|   image: golang:${GOVERSION} | #   image: golang:${GOVERSION} | ||||||
|   commands: | #   commands: | ||||||
|     - govulncheck ./... | #     - govulncheck ./... | ||||||
|   depends_on: | #   depends_on: | ||||||
|     - prepare | #     - prepare | ||||||
| 
 | 
 | ||||||
| - name: publish | # - name: publish | ||||||
|   image: golang | #   image: golang | ||||||
|   commands: | #   commands: | ||||||
|     - echo "Publishing not implemented yet" | #     - echo "Publishing not implemented yet" | ||||||
|   when: | #   when: | ||||||
|     branch:       | #     branch:       | ||||||
|       - main | #       - main | ||||||
|     event: | #     event: | ||||||
|       - custom       | #       - custom       | ||||||
| 
 | 
 | ||||||
| trigger: | # trigger: | ||||||
|   event: | #   event: | ||||||
|   - push   | #   - push   | ||||||
|   - cron | #   - cron | ||||||
|   - custom   | #   - custom   | ||||||
		Loading…
	
		Reference in New Issue