diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml new file mode 100644 index 00000000..40fc292c --- /dev/null +++ b/.github/workflows/reviewdog.yml @@ -0,0 +1,25 @@ +name: reviewdog +on: + push: + branches: + - master + pull_request: + +jobs: + vint: + name: runner / vint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: reviewdog/action-vint@v1 + if: github.event_name == 'pull_request' + with: + github_token: ${{ secrets.github_token }} + reporter: github-pr-check + level: warning + - uses: reviewdog/action-vint@v1 + if: github.event_name != 'pull_request' + with: + github_token: ${{ secrets.github_token }} + reporter: github-check + level: warning diff --git a/.travis.yml b/.travis.yml index 069418f4..bc5fe5f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,13 +3,8 @@ rvm: - 2.0.0 install: - git clone https://github.com/kana/vim-vspec.git - - pip install vim-vint --user - - go env - - go get -u github.com/haya14busa/reviewdog/cmd/reviewdog before_script: - bundle install - bundle show script: - - >- - vint plugin autoload/EasyMotion.vim autoload/EasyMotion/ | reviewdog -name=vint -efm="%f:%l:%c: %m" -reporter=github-pr-check - rake ci