mirror of
https://github.com/preservim/tagbar.git
synced 2025-01-31 15:54:00 +08:00
Use Reviewdog to run Vint for nicer PR feedback (#572)
This commit is contained in:
parent
ce30e3f0d1
commit
d1c3f516ea
15
.github/workflows/vint.yml
vendored
15
.github/workflows/vint.yml
vendored
|
@ -1,22 +1,15 @@
|
|||
name: Vint
|
||||
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
vint:
|
||||
strategy:
|
||||
fail-fast: false
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@master
|
||||
- name: Set up Python
|
||||
uses: actions/setup-python@v1
|
||||
- name: Run vint with reviewdog
|
||||
uses: reviewdog/action-vint@v1.0.1
|
||||
with:
|
||||
python-version: 3.7
|
||||
- name: Setup dependencies
|
||||
run: pip install vim-vint
|
||||
- name: Run Vimscript Linter
|
||||
run: vint .
|
||||
github_token: ${{ secrets.github_token }}
|
||||
reporter: github-pr-review
|
||||
|
|
Loading…
Reference in New Issue
Block a user