Skip to content

Commit

Permalink
Split out health score as separate job that runs after test, and expl…
Browse files Browse the repository at this point in the history
…icitly has check-writing permissions.
  • Loading branch information
Filip Maj committed May 13, 2024
1 parent 257a1b6 commit 73b78af
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/deno-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,28 +17,31 @@ on:
jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Setup repo
uses: actions/checkout@v4

- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x

- name: Run tests
run: deno task test

- name: Generate CodeCov-friendly coverage report
run: deno task generate-lcov

- name: Upload coverage to CodeCov
uses: codecov/codecov-action@v4
with:
file: ./lcov.info
token: ${{ secrets.CODECOV_TOKEN }}


health-score:
needs: test
permissions:
checks: write
runs-on: ubuntu-latest
steps:
- name: Setup repo
uses: actions/checkout@v4
- name: Report health score
uses: slackapi/slack-health-score@v0
with:
Expand Down

0 comments on commit 73b78af

Please sign in to comment.