chore: cache: generate mocks for act/artifactcache/caches.go

This commit is contained in:
Earl Warren 2025-09-05 15:03:52 +02:00
parent c28a98082b
commit c48accfb51
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
4 changed files with 234 additions and 3 deletions

View file

@ -62,7 +62,7 @@ else
endif
endif
GO_PACKAGES_TO_VET ?= $(filter-out code.forgejo.org/forgejo/runner/v11/internal/pkg/client/mocks,$(shell $(GO) list ./...))
GO_PACKAGES_TO_VET ?= $(filter-out code.forgejo.org/forgejo/runner/v11/internal/pkg/client/mocks code.forgejo.org/forgejo/runner/v11/act/artifactcache/mock_caches.go,$(shell $(GO) list ./...))
TAGS ?=
LDFLAGS ?= -X "code.forgejo.org/forgejo/runner/v11/internal/pkg/ver.version=v$(RELEASE_VERSION)"
@ -120,7 +120,7 @@ vet:
.PHONY: generate
generate:
$(GO) generate ./internal/...
$(GO) generate ./...
install: $(GOFILES)
$(GO) install -v -tags '$(TAGS)' -ldflags '$(EXTLDFLAGS)-s -w $(LDFLAGS)'