From f02474b6eb32abc62c2025e41aea235b9b60569f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Baranowski?= Date: Fri, 8 Sep 2023 12:18:32 +0200 Subject: [PATCH] chore: Update coveralls setup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: MikoĊ‚aj Baranowski --- .github/workflows/test.yaml | 6 ++++-- .go-tools | 1 - make/go.mk | 3 +-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 57a4a36003..d7ee6789f8 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -16,6 +16,8 @@ jobs: - name: Setup asdf uses: asdf-vm/actions/setup@v1 - name: Run unit tests - env: - COVERALLS_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: make go-test + - name: Report Coveralls + uses: coverallsapp/github-action@v2 + with: + file: hack/release/coverage.out diff --git a/.go-tools b/.go-tools index a2c57be791..fda5d2f8b9 100644 --- a/.go-tools +++ b/.go-tools @@ -1,4 +1,3 @@ github.com/caarlos0/svu@5b40c3113f8d7fd477f2410d8e14eaf835f3a76e -github.com/mattn/goveralls@602d73e9edb54427afabf600a676e4fcf09a2480 github.com/a8m/envsubst/cmd/envsubst@v1.4.2 github.com/itchyny/gojq/cmd/gojq@v0.12.13 diff --git a/make/go.mk b/make/go.mk index c3376fe0eb..7cb249912a 100644 --- a/make/go.mk +++ b/make/go.mk @@ -1,8 +1,7 @@ .PHONY: go-test go-test: go-lint -go-test: install-tool.golang install-tool.go.goveralls +go-test: install-tool.golang cd hack/release && go test -v -race -covermode=atomic -coverprofile=coverage.out ./... - cd hack/release && goveralls -coverprofile=coverage.out -service=github .PHONY: mod-tidy mod-tidy: install-tool.golang