fix(ci): replace drone with gitea actions
All checks were successful
Markdown linter / markdown-lint (push) Successful in 11s
Golang Tests / unittest (push) Successful in 43s

This commit is contained in:
2025-05-13 20:28:50 +02:00
parent a91d50bc29
commit 756d668fc9
10 changed files with 285 additions and 717 deletions

View File

@ -20,12 +20,27 @@ all: clean ${EXECUTABLE_TARGETS}
getpsrc:
go build -tags netgo -ldflags "-X main.version=${VERSION}" -o ${@} main.go
# CLEAN
# ==============================================================================
PHONY+=clean
clean:
rm -f -r $(shell pwd)/getpsrc*
# TESTS
# ==============================================================================
PHONY+=test/unit
test/unit:
CGO_ENABLED=0 \
GOPROXY=$(shell go env GOPROXY) \
go test -v -p 1 -coverprofile=coverage.txt -covermode=count -timeout 1200s ./...
PHONY+=test/coverage
test/coverage: test/unit
CGO_ENABLED=0 \
GOPROXY=$(shell go env GOPROXY) \
go tool cover -html=coverage.txt
# GOLANGCI-LINT
# ==============================================================================
PHONY+=golangci-lint