Skip to content

Commit

Permalink
Split push vs. pull_request lint tooling (#108)
Browse files Browse the repository at this point in the history
  • Loading branch information
alerque committed Jun 8, 2020
1 parent b3e6f3d commit d5f2af4
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/reviewdog.yml
@@ -0,0 +1,16 @@
name: Reviewdog
on: [pull_request]
jobs:
vint:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Lint Vimscript in PR changes
uses: reviewdog/action-vint@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
level: info
12 changes: 6 additions & 6 deletions .github/workflows/vint.yml
@@ -1,16 +1,16 @@
name: Vint
on: [push, pull_request]
on: [push]
jobs:
vint:
strategy:
fail-fast: false
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v1
with:
python-version: 3.7
uses: actions/setup-python@v2
- name: Setup dependencies
run: pip install vim-vint
- name: Run Vimscript Linter
- name: Lint Vimscript
run: vint .

0 comments on commit d5f2af4

Please sign in to comment.