Skip to content

Commit

Permalink
Add Go Report Card workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dl1998 committed Apr 15, 2024
1 parent e69bcab commit c770cea
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/go-report-card.yaml
Original file line number Diff line number Diff line change
@@ -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}}

0 comments on commit c770cea

Please sign in to comment.