From c770cea4ce95635ec345de74e797e3021c2c246d Mon Sep 17 00:00:00 2001 From: Dmytro Leshchenko Date: Mon, 15 Apr 2024 02:30:54 +0200 Subject: [PATCH] Add Go Report Card workflow --- .github/workflows/go-report-card.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/go-report-card.yaml diff --git a/.github/workflows/go-report-card.yaml b/.github/workflows/go-report-card.yaml new file mode 100644 index 0000000..8988d24 --- /dev/null +++ b/.github/workflows/go-report-card.yaml @@ -0,0 +1,21 @@ +name: Go Report Card + +on: + release: + types: [ "published" ] + pull_request: + branches: [ "main" ] + +jobs: + go-report-card: + runs-on: ubuntu-latest + name: A job to run go report card + steps: + - name: Go Report Card + id: goreportcard + uses: jacobkring/actions-goreportcard@v0.0.1 + with: + threshold: "-t 85" + - name: results + run: | + echo ${{ steps.goreportcard.outputs.summary}}