Skip to content

Commit

Permalink
fix: coverage action.
Browse files Browse the repository at this point in the history
  • Loading branch information
arshamalh committed Apr 18, 2024
1 parent f6e239d commit 30adbc2
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/gen_coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ jobs:
uses: actions/setup-go@v5
with:
go-version: ${{ matrix.go }}
- name: Install dependencies

- name: Gather dependencies
run: go mod download

- name: Test
Expand All @@ -42,10 +42,12 @@ jobs:
skip_fetch: true
skip_checkout: true
file_pattern: ./README.md
branch: coverage-badge
create_branch: true

- name: Push Changes
if: steps.auto-commit-action.outputs.changes_detected == 'true'
uses: ad-m/github-push-action@master
with:
github_token: ${{ github.token }}
branch: ${{ github.ref }}
branch: coverage-badge

0 comments on commit 30adbc2

Please sign in to comment.