Skip to content

Commit

Permalink
Cache venv directory instead
Browse files Browse the repository at this point in the history
  • Loading branch information
gartung committed Mar 2, 2020
1 parent ad017ce commit 8a8f560
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pylint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,21 @@ on: [pull_request]
jobs:
pylint_job:
runs-on: ubuntu-latest
name: A job to build the decision engine rpm
name: A job to run pylint action
steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v2
with:
path: 'decisionengine'
id: checkout
- name: Cache pip
- name: Cache venv
uses: actions/cache@v1
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip
path: ./venv
key: ${{ runner.os }}-venv
restore-keys: |
${{ runner.os }}-pip-
${{ runner.os }}-venv
${{ runner.os }}-
- name: pylint action step
uses: ./.github/actions/pylint-in-sl7-docker
Expand Down

0 comments on commit 8a8f560

Please sign in to comment.