Skip to content

Create cache-gh-task.yml #1

Create cache-gh-task.yml

Create cache-gh-task.yml #1

Workflow file for this run

name: Test cache
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Cache pip
uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }}
restore-keys: |
${{ runner.os }}-pip-
- name: Install deps
run: pip install -r requirements.txt