From a10a41129610a3f5ace666f2e036216c48fa1423 Mon Sep 17 00:00:00 2001
From: "Pavel N. Krivitsky"
Date: Fri, 10 May 2024 14:51:41 +1000
Subject: [PATCH] Added caching to GH action.
---
.github/workflows/pylint.yml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml
index 5e10fda..72e93c6 100644
--- a/.github/workflows/pylint.yml
+++ b/.github/workflows/pylint.yml
@@ -14,7 +14,8 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- - name: Install dependencies
+ cache: 'pip'
+ cache-dependency-path: 'requirements.txt'
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt