From 8cd3f4cba8c43df9da3d29cd45c13ed1139b00b4 Mon Sep 17 00:00:00 2001 From: Ben Schumacher Date: Tue, 23 Sep 2025 13:17:55 +0200 Subject: [PATCH 1/5] Remove codeclimate integration --- .github/workflows/go.yml | 11 ----------- README.md | 2 -- 2 files changed, 13 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 554fad1..8635cae 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -18,13 +18,6 @@ jobs: steps: - uses: actions/checkout@v5 - - name: Pre-run - run: | - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter - chmod +x ./cc-test-reporter - ./cc-test-reporter before-build - curl -sL https://taskfile.dev/install.sh | sh - - name: Set up Go uses: actions/setup-go@v5 with: @@ -45,7 +38,3 @@ jobs: - name: Test run: ./bin/task test-coverage - - - name: Post run - run: ./cc-test-reporter after-build format-coverage -t gocov --prefix github.com/stretchr/objx .cover/c.out --exit-code $? - diff --git a/README.md b/README.md index 0f93f28..e9ba830 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,6 @@ # Objx [![Build Status](https://travis-ci.org/stretchr/objx.svg?branch=master)](https://travis-ci.org/stretchr/objx) [![Go Report Card](https://goreportcard.com/badge/github.com/stretchr/objx)](https://goreportcard.com/report/github.com/stretchr/objx) -[![Maintainability](https://api.codeclimate.com/v1/badges/1d64bc6c8474c2074f2b/maintainability)](https://codeclimate.com/github/stretchr/objx/maintainability) -[![Test Coverage](https://api.codeclimate.com/v1/badges/1d64bc6c8474c2074f2b/test_coverage)](https://codeclimate.com/github/stretchr/objx/test_coverage) [![Sourcegraph](https://sourcegraph.com/github.com/stretchr/objx/-/badge.svg)](https://sourcegraph.com/github.com/stretchr/objx) [![GoDoc](https://pkg.go.dev/badge/github.com/stretchr/objx?utm_source=godoc)](https://pkg.go.dev/github.com/stretchr/objx) From 10c6974e5826e4506507f074b0de1cc4be9ed584 Mon Sep 17 00:00:00 2001 From: Ben Schumacher Date: Tue, 23 Sep 2025 13:22:50 +0200 Subject: [PATCH 2/5] Install task file --- .github/workflows/go.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 8635cae..4ca1d69 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -18,6 +18,9 @@ jobs: steps: - uses: actions/checkout@v5 + - name: Install Task + uses: go-task/setup-task@v1 + - name: Set up Go uses: actions/setup-go@v5 with: @@ -37,4 +40,4 @@ jobs: run: diff -u <(echo -n) <(./bin/task lint) - name: Test - run: ./bin/task test-coverage + run: ./bin/task test From bf989d11bf98b8ddafd97d300eff23d13fb692d4 Mon Sep 17 00:00:00 2001 From: Ben Schumacher Date: Tue, 23 Sep 2025 13:23:27 +0200 Subject: [PATCH 3/5] Cleanup --- .github/workflows/go.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 4ca1d69..c99db7c 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -9,8 +9,6 @@ on: jobs: build: - env: - CC_TEST_REPORTER_ID: 68feaa3410049ce73e145287acbcdacc525087a30627f96f04e579e75bd71c00 runs-on: ubuntu-latest strategy: matrix: From a0bf38b5d292538b535c821c5a18c477a57d2e67 Mon Sep 17 00:00:00 2001 From: Ben Schumacher Date: Tue, 23 Sep 2025 13:24:36 +0200 Subject: [PATCH 4/5] Fix path --- .github/workflows/go.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index c99db7c..6a99bb8 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -35,7 +35,7 @@ jobs: ${{ runner.os }}-go- - name: Lint - run: diff -u <(echo -n) <(./bin/task lint) + run: diff -u <(echo -n) <(task lint) - name: Test - run: ./bin/task test + run: .task test From 197ce9054cefe73906bba39faa7d72f03a98e719 Mon Sep 17 00:00:00 2001 From: Ben Schumacher Date: Tue, 23 Sep 2025 13:25:41 +0200 Subject: [PATCH 5/5] Fix typo --- .github/workflows/go.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 6a99bb8..3dac642 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -38,4 +38,4 @@ jobs: run: diff -u <(echo -n) <(task lint) - name: Test - run: .task test + run: task test