Skip to content

Commit

Permalink
Use third party action
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jun 10, 2024
1 parent 7c9c91f commit 6212238
Showing 1 changed file with 6 additions and 11 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,18 +45,13 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}

- name: Send GitHub status check
uses: actions/github-script@v7
uses: hkusu/status-create-action@v1
with:
script: |
github.rest.statuses.create({
owner: context.repo.owner,
repo: context.repo.repo,
sha: context.sha,
context: "code-coverage",
state: "success",
target_url: "https://github.com/hydephp/cli",
description: "Coverage report has been uploaded to Codecov.",
});
sha: ${{ github.sha }}
state: success
target-url: 'https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}'
description: 'Code coverage report has been uploaded to Codecov.'
context: 'code-coverage'

run-tests:
needs: coverage-tests
Expand Down

0 comments on commit 6212238

Please sign in to comment.