Skip to content

Commit 6427adf

Browse files
committed
Remove reviewdog from test workflow and fix codecov to use official action
1 parent f429295 commit 6427adf

1 file changed

Lines changed: 3 additions & 15 deletions

File tree

.github/workflows/test.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -34,23 +34,11 @@ jobs:
3434
env:
3535
NODE_OPTIONS: --trace-warnings --trace-deprecation --trace-exit --trace-uncaught --unhandled-rejections=strict --max-old-space-size=8192
3636

37-
- name: Set up reviewdog
38-
if: ${{ github.event_name == 'pull_request' }}
39-
uses: reviewdog/action-setup@v1
40-
with:
41-
reviewdog_version: latest
42-
43-
- name: Run reviewdog
44-
continue-on-error: true
45-
if: ${{ github.event_name == 'pull_request' }}
46-
env:
47-
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
48-
run: |
49-
git ls-files | grep eslintrc | xargs -L 1 dirname | paste -sd ' ' | xargs -I {} sh -c "npx eslint --ext js,ts -f rdjson {} | reviewdog -f=rdjson -name=ESLint -reporter=github-pr-review"
50-
5137
- name: codecov
5238
continue-on-error: true
53-
run: npx codecov
39+
uses: codecov/codecov-action@v5
40+
with:
41+
token: ${{ secrets.CODECOV_TOKEN }}
5442

5543
test-rust:
5644
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)