From: Michael Kubacki Date: Thu, 30 Mar 2023 20:44:26 +0000 (-0700) Subject: .github/workflows/codeql-analysis.yml: Add PIP caching X-Git-Tag: edk2-stable202305~196 X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=b4af23aaab8a44341e43713a71cbebf23df2c27d;p=ovmf.git .github/workflows/codeql-analysis.yml: Add PIP caching Adds caching of PIP dependencies. This reduces overall execution time and decreases likelihood of a network error reaching out pypi to get the dependencies. Caching happens based on modules specified in pip-requirements.txt. Cc: Sean Brogan Cc: Michael Kubacki Cc: Michael D Kinney Signed-off-by: Michael Kubacki Reviewed-by: Michael D Kinney --- diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 791f79d1f0..33cc0bd6b4 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -66,6 +66,8 @@ jobs: uses: actions/setup-python@v4 with: python-version: '3.10.6' + cache: 'pip' + cache-dependency-path: 'pip-requirements.txt' # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL