Skip to content

Commit aaa9add

Browse files
authored
Merge pull request easymotion#414 from easymotion/fix-ci
introduce reviewdog/action-vint
2 parents 83a09a1 + 87a3a5d commit aaa9add

File tree

2 files changed

+25
-5
lines changed

2 files changed

+25
-5
lines changed

.github/workflows/reviewdog.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: reviewdog
2+
on:
3+
push:
4+
branches:
5+
- master
6+
pull_request:
7+
8+
jobs:
9+
vint:
10+
name: runner / vint
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
- uses: reviewdog/action-vint@v1
15+
if: github.event_name == 'pull_request'
16+
with:
17+
github_token: ${{ secrets.github_token }}
18+
reporter: github-pr-check
19+
level: warning
20+
- uses: reviewdog/action-vint@v1
21+
if: github.event_name != 'pull_request'
22+
with:
23+
github_token: ${{ secrets.github_token }}
24+
reporter: github-check
25+
level: warning

.travis.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,8 @@ rvm:
33
- 2.0.0
44
install:
55
- git clone https://github.com/kana/vim-vspec.git
6-
- pip install vim-vint --user
7-
- go env
8-
- go get -u github.com/haya14busa/reviewdog/cmd/reviewdog
96
before_script:
107
- bundle install
118
- bundle show
129
script:
13-
- >-
14-
vint plugin autoload/EasyMotion.vim autoload/EasyMotion/ | reviewdog -name=vint -efm="%f:%l:%c: %m" -reporter=github-pr-check
1510
- rake ci

0 commit comments

Comments
 (0)