From 4af67f70d038d07e2a6ac99fdc04d1569c13a593 Mon Sep 17 00:00:00 2001 From: Raffi Khatchadourian Date: Wed, 30 Oct 2024 12:23:45 -0400 Subject: [PATCH] Update maven.yml Cache pip dependencies? --- .github/workflows/maven.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml index abeb8300..b5f71e06 100644 --- a/.github/workflows/maven.yml +++ b/.github/workflows/maven.yml @@ -22,6 +22,13 @@ jobs: java-version: '17' distribution: 'temurin' cache: maven + - name: Cache pip dependencies + uses: actions/cache@v4 + with: + path: ~/.cache/pip + key: ${{ runner.os }}-pip-${{ hashFiles('**/requirements.txt') }} + restore-keys: | + ${{ runner.os }}-pip- - name: Fail on whitespace errors run: git show HEAD --check - name: Install global requirements