Improve document about reviewdog setup
@@ -378,6 +378,11 @@ jobs:
runs-on: ubuntu-latest
steps:
# ...
+ - name: Setup reviewdog
+ run: |
+ mkdir -p $HOME/bin && curl -sfL https://raw.githubusercontent.com/reviewdog/reviewdog/master/install.sh| sh -s -- -b $HOME/bin
+ echo ::add-path::$HOME/bin
+ echo ::add-path::$(go env GOPATH)/bin # for Go projects
- name: Run reviewdog
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
