From 82e9631c5180432b7e3e73570ef100c551ca7d3a Mon Sep 17 00:00:00 2001 From: parithosh Date: Thu, 5 Jan 2023 14:09:18 +0100 Subject: [PATCH] add cache to linter and codespell --- .github/workflows/run-tests.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 3e23d1910..21c286eae 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -70,6 +70,11 @@ jobs: runs-on: self-hosted needs: setup-env steps: + - uses: actions/cache@v3.2.2 + id: restore-build + with: + path: ./* + key: ${{ github.sha }} - name: Check codespell run: pip install 'codespell<3.0.0,>=2.0.0' --user && make codespell @@ -77,6 +82,11 @@ jobs: runs-on: self-hosted needs: setup-env steps: + - uses: actions/cache@v3.2.2 + id: restore-build + with: + path: ./* + key: ${{ github.sha }} - name: Run linter for pyspec run: make lint - name: Run linter for test generators