調べてもあまりでてこなかったのでメモ用に残す
on:
pull_request:
paths:
- '**.go'
jobs:
lint:
name: runner / lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: reviewdog/action-golangci-lint@v1
with:
github_token: ${{ secrets.github_token }}
tool_name: golint
# ここに--skipをつけて指定する
golangci_lint_flags: "--disable-all -E golint --skip pkg/"
level: warning
filter_mode: nofilter
fail_on_error: true
reporter: github-pr-review