diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index a8b7501..498262f 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -1,9 +1,9 @@ -name: Coverage +name: Coverage Badge on: pull_request: branches: - - "**" + - master jobs: test: @@ -11,13 +11,13 @@ jobs: name: Update coverage badge steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token. fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository. - name: Setup go - uses: actions/setup-go@v2 + uses: actions/setup-go@v3 with: go-version: '1.19' diff --git a/README.md b/README.md index 56fd4b5..f5907f6 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,5 @@ # Proteus +![Coverage](https://img.shields.io/badge/Coverage-55.0%25-yellow) ## About