diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index 9e987ca8..52c46584 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -20,16 +20,16 @@ name: reviewdog on: [pull_request] jobs: - reviewdog: - name: reviewdog + golangci-lint: + name: review runs-on: ubuntu-latest steps: - # ... - - uses: reviewdog/action-setup@v1 + - name: Check out code into the Go module directory + uses: actions/checkout@v2 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 + persist-credentials: false + submodules: true + - name: golangci-lint + uses: ./.github/actions/review-dog + with: + golangci_lint_flags: "--timeout=10m" \ No newline at end of file