From: Hugo van Kemenade <hugovk@users.noreply.github.com>
Date: Tue, 4 May 2021 11:41:04 +0000 (+0300)
Subject: Use pre-commit/action to simplify CI (#2191)
X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/267bc5dde9f4e5e4b6dacdf79cf1688ffe9b7715?ds=sidebyside

Use pre-commit/action to simplify CI (#2191)
---

diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 2480a5e..51f6d02 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -22,8 +22,7 @@ jobs:
       - name: Install dependencies
         run: |
           python -m pip install --upgrade pip
-          python -m pip install --upgrade pre-commit
           python -m pip install -e '.[d]'
 
       - name: Lint
-        run: pre-commit run --all-files --show-diff-on-failure
+        uses: pre-commit/action@v2.0.2