diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 554fad1..3dac642 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: @@ -18,12 +16,8 @@ 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: Install Task + uses: go-task/setup-task@v1 - name: Set up Go uses: actions/setup-go@v5 @@ -41,11 +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-coverage - - - name: Post run - run: ./cc-test-reporter after-build format-coverage -t gocov --prefix github.com/stretchr/objx .cover/c.out --exit-code $? - + run: task test 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)