Skip to content

Commit

Permalink
Update tests.yml to use cache@v4 and allow manual triggering
Browse files Browse the repository at this point in the history
  • Loading branch information
contrick64 authored Dec 11, 2024
1 parent 003fb36 commit 942d976
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:

jobs:
build:
Expand All @@ -21,7 +22,7 @@ jobs:
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- uses: actions/cache@v2
- uses: actions/cache@v4
with:
path: ~/.cache/pip
key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements/unit_tests.txt') }}
Expand Down

0 comments on commit 942d976

Please sign in to comment.