aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-30 09:54:11 +0900
committerYasuhiro Matsumoto <mattn.jp@gmail.com>2020-01-30 09:54:11 +0900
commitff18836456caf8e23932f1aafdb81640efa00a1e (patch)
tree054467baa4334b5220b60722584daf1aa29fb0c8
parentba1807c88f7501485a841466e187421a434ee0aa (diff)
downloadvim-lsp-settings-ff18836456caf8e23932f1aafdb81640efa00a1e.tar.gz
vim-lsp-settings-ff18836456caf8e23932f1aafdb81640efa00a1e.tar.bz2
vim-lsp-settings-ff18836456caf8e23932f1aafdb81640efa00a1e.zip
Add reviewdog
-rw-r--r--.github/workflows/reviewdog.yml22
-rw-r--r--README.md1
2 files changed, 23 insertions, 0 deletions
diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml
new file mode 100644
index 0000000..f0752d5
--- /dev/null
+++ b/.github/workflows/reviewdog.yml
@@ -0,0 +1,22 @@
+name: reviewdog
+
+on:
+ push:
+ branches:
+ - master
+ pull_request:
+ branches:
+ - master
+
+jobs:
+ vimlint:
+ name: runner / vint
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v1
+ - name: vint
+ uses: reviewdog/action-vint@v1
+ with:
+ github_token: ${{ secrets.github_token }}
+ level: error
+ reporter: github-pr-review
diff --git a/README.md b/README.md
index e7e2b6a..dd8dc23 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,6 @@
# vim-lsp-settings
+[![Actions Status](https://github.com/mattn/vim-lsp-settings/workflows/reviewdog/badge.svg)](https://github.com/mattn/vim-lsp-settings/actions)
[![Actions Status](https://github.com/mattn/vim-lsp-settings/workflows/linux_vim/badge.svg)](https://github.com/mattn/vim-lsp-settings/actions)
[![Actions Status](https://github.com/mattn/vim-lsp-settings/workflows/windows_vim/badge.svg)](https://github.com/mattn/vim-lsp-settings/actions)