Skip to content

Commit

Permalink
add review dog
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongchao.guan committed Oct 11, 2024
1 parent d64373e commit 5dfcd0d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .reviewdog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: reviewdog
on: [pull_request,push]
jobs:
reviewdog:
name: reviewdog
runs-on: ubuntu-latest
steps:
# ...
- uses: reviewdog/action-setup@v1
with:
reviewdog_version: latest # Optional. [latest,nightly,v.X.Y.Z]
- name: Run reviewdog
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
reviewdog -reporter=github-pr-check -runners=golint,govet
# or
reviewdog -reporter=github-pr-review -runners=golint,govet

0 comments on commit 5dfcd0d

Please sign in to comment.