Skip to content

Commit

Permalink
Update workflow file
Browse files Browse the repository at this point in the history
  • Loading branch information
jama5262 committed May 15, 2024
1 parent 8c424a2 commit bf5c839
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ on:
pull_request:
branches:
- master
workflow_call:

jobs:
run-tests:
Expand Down Expand Up @@ -35,7 +34,8 @@ jobs:
dart pub global activate coverage
dart pub global run coverage:format_coverage --report-on=./lib --lcov --in=./coverage/reports --out=coverage/lcov.info
- name: Report to Codecov
- if: matrix.os == 'ubuntu-latest'
name: Report to Codecov
uses: codecov/codecov-action@v4
with:
file: coverage/lcov.info
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@ on:
- "v[0-9]+.[0-9]+.[0-9]+*"

jobs:
run-tests:
uses: ./.github/workflows/ci.yml
publish:
permissions:
id-token: write
needs: run-tests
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1

0 comments on commit bf5c839

Please sign in to comment.