add cache to linter and codespell

This commit is contained in:
parithosh 2023-01-05 14:09:18 +01:00
parent 19cf15b838
commit 82e9631c51
No known key found for this signature in database
GPG Key ID: 5636BC0E08138A24
1 changed files with 10 additions and 0 deletions

View File

@ -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