Skip to content

Commit

Permalink
enable reviewdog fail_on_error
Browse files Browse the repository at this point in the history
  • Loading branch information
toshi0607 committed Jun 25, 2023
1 parent 0383e8e commit a11d55e
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ jobs:
- name: Check out code into the Go module directory
uses: actions/checkout@v3
- name: golangci-lint
uses: golangci/golangci-lint-action@v3
uses: reviewdog/action-golangci-lint@v2
with:
version: v1.53
github_token: ${{ secrets.GITHUB_TOKEN }}
golangci_lint_flags: "--config=.golangci.yml"
level: warning
reporter: github-pr-review
fail_on_error: true

0 comments on commit a11d55e

Please sign in to comment.