Browse Source

ftr: add reviewdogt (#106)

* add reviewdog
revert-106-v2
scott lewis GitHub 3 years ago
parent
commit
4cb09fa696
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 10 deletions
  1. +10
    -10
      .github/workflows/reviewdog.yml

+ 10
- 10
.github/workflows/reviewdog.yml View File

@@ -20,16 +20,16 @@
name: reviewdog
on: [pull_request]
jobs:
golangci-lint:
name: review
reviewdog:
name: reviewdog
runs-on: ubuntu-latest
steps:
- name: Check out code into the Go module directory
uses: actions/checkout@v2
# ...
- uses: reviewdog/action-setup@v1
with:
persist-credentials: false
submodules: true
- name: golangci-lint
uses: ./.github/actions/review-dog
with:
golangci_lint_flags: "--timeout=10m"
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

Loading…
Cancel
Save