From 2042a4b7d5d7e2cd6e60caefa02a9686d958efb0 Mon Sep 17 00:00:00 2001 From: Tobias Meisel Date: Fri, 6 Mar 2026 11:04:51 +0100 Subject: [PATCH 1/4] [CHORE] Fix license headers --- container/container.go | 2 +- container/container_test.go | 2 +- container/zot/zot.go | 2 +- container/zot/zot_test.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/container/container.go b/container/container.go index 3a57a9a..6574195 100644 --- a/container/container.go +++ b/container/container.go @@ -1,4 +1,4 @@ -// Copyright 2026 BWI GmbH and Solution Arsenal contributors +// Copyright 2026 BWI GmbH and Testkit contributors // SPDX-License-Identifier: Apache-2.0 package container diff --git a/container/container_test.go b/container/container_test.go index d7a1a45..6404e01 100644 --- a/container/container_test.go +++ b/container/container_test.go @@ -1,4 +1,4 @@ -// Copyright 2026 BWI GmbH and Solution Arsenal contributors +// Copyright 2026 BWI GmbH and Testkit contributors // SPDX-License-Identifier: Apache-2.0 package container diff --git a/container/zot/zot.go b/container/zot/zot.go index e858429..9afa709 100644 --- a/container/zot/zot.go +++ b/container/zot/zot.go @@ -1,4 +1,4 @@ -// Copyright 2026 BWI GmbH and Solution Arsenal contributors +// Copyright 2026 BWI GmbH and Testkit contributors // SPDX-License-Identifier: Apache-2.0 package zot diff --git a/container/zot/zot_test.go b/container/zot/zot_test.go index bdb8da6..9e9063b 100644 --- a/container/zot/zot_test.go +++ b/container/zot/zot_test.go @@ -1,4 +1,4 @@ -// Copyright 2026 BWI GmbH and Solution Arsenal contributors +// Copyright 2026 BWI GmbH and Testkit contributors // SPDX-License-Identifier: Apache-2.0 package zot From 6c75513e7ba9a4fad20f4fd1de91517400a32b7e Mon Sep 17 00:00:00 2001 From: Tobias Meisel Date: Fri, 6 Mar 2026 11:10:22 +0100 Subject: [PATCH 2/4] remove reference to hack/*.sh from Makefile --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 572d228..50ddfbc 100644 --- a/Makefile +++ b/Makefile @@ -78,8 +78,7 @@ lint: lint-no-golangci golangci-lint ## Run linters such as golangci-lint and ad .PHONY: lint-no-golangci lint-no-golangci: addlicense - find . -not -path '*/.*' -name '*.go' -exec $(ADDLICENSE) -check -l apache -s=only -check {} + - shellcheck hack/*.sh + find . -not -path '*/.*' -name '*.go' -exec $(ADDLICENSE) -check -l apache -s=only -check {} .PHONY: scan scan: From 9da27d1c9f65e0abb19c341e7cdec7dd2097d84d Mon Sep 17 00:00:00 2001 From: Tobias Meisel Date: Fri, 6 Mar 2026 11:21:25 +0100 Subject: [PATCH 3/4] adjust Makefile --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 50ddfbc..56584ff 100644 --- a/Makefile +++ b/Makefile @@ -78,7 +78,7 @@ lint: lint-no-golangci golangci-lint ## Run linters such as golangci-lint and ad .PHONY: lint-no-golangci lint-no-golangci: addlicense - find . -not -path '*/.*' -name '*.go' -exec $(ADDLICENSE) -check -l apache -s=only -check {} + find . -not -path '*/.*' -name '*.go' -exec $(ADDLICENSE) -check -l apache -s=only {} ';' .PHONY: scan scan: From 6bab67448b62c24912ee374a9804a82a5be73a74 Mon Sep 17 00:00:00 2001 From: Tobias Meisel Date: Fri, 6 Mar 2026 11:28:58 +0100 Subject: [PATCH 4/4] configure coverprofile --- .github/workflows/golang.yaml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/golang.yaml b/.github/workflows/golang.yaml index e1a4dc8..8a4633c 100644 --- a/.github/workflows/golang.yaml +++ b/.github/workflows/golang.yaml @@ -28,7 +28,7 @@ jobs: - uses: actions/setup-go@v6 with: go-version: ${{ env.GO_VERSION }} - - name: lint-license-and-shell + - name: lint-license run: | make lint-no-golangci - name: golangci-lint @@ -44,6 +44,10 @@ jobs: go-version: ${{ env.GO_VERSION }} - name: test run: make test + - name: Convert coverage to lcov + uses: jandelgado/gcov2lcov-action@v1.2.0 + with: + infile: testkit.coverprofile - name: Coveralls GitHub Action uses: coverallsapp/github-action@v2.3.7 with: