From b8b9595be30509a16ebb0c6cbb0657c5d59845b8 Mon Sep 17 00:00:00 2001 From: John Bradley Date: Mon, 19 Aug 2024 11:42:50 -0400 Subject: [PATCH] Try caching dependencies --- .github/workflows/run-tests.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index b33fa68..4146435 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -6,16 +6,17 @@ jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - python-version: ["3.11"] steps: - uses: actions/checkout@v4 - - name: Set up Python ${{ matrix.python-version }} + - name: Set up Python uses: actions/setup-python@v5 with: - python-version: ${{ matrix.python-version }} + python-version: '3.11' + - uses: actions/cache@v4 + with: + path: ~/.cache/pip + key: ${{ runner.os }}-pip-${{ hashFiles('**/pyproject.toml') }} - name: Install dependencies run: | python -m pip install --upgrade pip