mirror of
				https://gitea.com/gitea/act_runner.git
				synced 2025-10-31 04:47:58 +01:00 
			
		
		
		
	Skip counting log length when parseLogRow return nil (#176)
Fix:  Regression of #149, `LogLength` could be incorrect. It may be related to https://github.com/go-gitea/gitea/issues/24458 Reviewed-on: https://gitea.com/gitea/act_runner/pulls/176 Reviewed-by: Zettat123 <zettat123@noreply.gitea.io> Reviewed-by: wxiaoguang <wxiaoguang@noreply.gitea.io>
This commit is contained in:
		
							
								
								
									
										5
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										5
									
								
								Makefile
									
									
									
									
									
								
							| @@ -65,6 +65,9 @@ else | ||||
| 	endif | ||||
| endif | ||||
|  | ||||
| GO_PACKAGES_TO_VET ?= $(filter-out gitea.com/gitea/act_runner/internal/pkg/client/mocks,$(shell $(GO) list ./...)) | ||||
|  | ||||
|  | ||||
| TAGS ?= | ||||
| LDFLAGS ?= -X "gitea.com/gitea/act_runner/internal/pkg/ver.version=$(RELASE_VERSION)" | ||||
|  | ||||
| @@ -105,7 +108,7 @@ test: fmt-check | ||||
| vet: | ||||
| 	@echo "Running go vet..." | ||||
| 	@$(GO) build code.gitea.io/gitea-vet | ||||
| 	@$(GO) vet -vettool=gitea-vet ./... | ||||
| 	@$(GO) vet -vettool=gitea-vet $(GO_PACKAGES_TO_VET) | ||||
|  | ||||
| install: $(GOFILES) | ||||
| 	$(GO) install -v -tags '$(TAGS)' -ldflags '$(EXTLDFLAGS)-s -w $(LDFLAGS)' | ||||
|   | ||||
		Reference in New Issue
	
	Block a user