From 02a272340ffd4d1884d681492a49e885051766a4 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Sun, 23 Jun 2024 16:36:21 +0000 Subject: [PATCH 1/4] chore(deps): update dependency codeclimate/test-reporter to v1 --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 7563f57d..398813ac 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -32,7 +32,7 @@ jobs: # renovate: datasource=github-tags depName=golangci/golangci-lint GOLANGCI_LINT_VERSION: v1.55.2 # renovate: datasource=github-tags depName=codeclimate/test-reporter - CODECLIMATE_VERSION: v0.11.1 + CODECLIMATE_VERSION: v1.0.1 run: | curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION} curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-${CODECLIMATE_VERSION}-linux-amd64 > ./cc-test-reporter From 7508c62c1f9b1a0becfbe71d485cbd9e6147f010 Mon Sep 17 00:00:00 2001 From: Jan Larwig Date: Sun, 23 Jun 2024 18:43:39 +0200 Subject: [PATCH 2/4] fix version scheme for download url --- .github/workflows/ci.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 398813ac..078466aa 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -32,7 +32,7 @@ jobs: # renovate: datasource=github-tags depName=golangci/golangci-lint GOLANGCI_LINT_VERSION: v1.55.2 # renovate: datasource=github-tags depName=codeclimate/test-reporter - CODECLIMATE_VERSION: v1.0.1 + CODECLIMATE_VERSION: 1.0.1 run: | curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION} curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-${CODECLIMATE_VERSION}-linux-amd64 > ./cc-test-reporter From 72ee8c8146989f0d375c74f67baa8ed9bc1ef7f7 Mon Sep 17 00:00:00 2001 From: tuunit Date: Sun, 23 Jun 2024 19:42:33 +0200 Subject: [PATCH 3/4] fix test reporter flags --- .github/workflows/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.sh b/.github/workflows/test.sh index 794b528f..d1a12182 100755 --- a/.github/workflows/test.sh +++ b/.github/workflows/test.sh @@ -17,7 +17,7 @@ if [ -z $CC_TEST_REPORTER_ID ]; then echo "3. CC_TEST_REPORTER_ID is unset, skipping" else echo "3. Running after-build" - ./cc-test-reporter after-build --exit-code $TEST_STATUS -t gocov --prefix $(go list -m) + ./cc-test-reporter after-build --exit-code $TEST_STATUS --prefix $(go list -m) fi if [ "$TEST_STATUS" -ne 0 ]; then From 70057d3056fe8938b6b5fa97e6bc080b049d5e68 Mon Sep 17 00:00:00 2001 From: Jan Larwig Date: Sun, 23 Jun 2024 19:54:01 +0200 Subject: [PATCH 4/4] strip v off of version for generating the correct download url --- .github/workflows/ci.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 078466aa..14926eb3 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -32,10 +32,10 @@ jobs: # renovate: datasource=github-tags depName=golangci/golangci-lint GOLANGCI_LINT_VERSION: v1.55.2 # renovate: datasource=github-tags depName=codeclimate/test-reporter - CODECLIMATE_VERSION: 1.0.1 + CODECLIMATE_VERSION: v1.0.1 run: | curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin ${GOLANGCI_LINT_VERSION} - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-${CODECLIMATE_VERSION}-linux-amd64 > ./cc-test-reporter + curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-${CODECLIMATE_VERSION#v}-linux-amd64 > ./cc-test-reporter chmod +x ./cc-test-reporter - name: Verify Code Generation