Date
1 - 3 of 3
[PATCH v1 1/1] .github/workflows/codeql-analysis.yml: Add PIP caching
Michael Kubacki
From: Michael Kubacki <michael.kubacki@...>
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 <sean.brogan@...> Cc: Michael Kubacki <mikuback@...> Cc: Michael D Kinney <michael.d.kinney@...> Signed-off-by: Michael Kubacki <michael.kubacki@...> --- .github/workflows/codeql-analysis.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/co= deql-analysis.yml index 791f79d1f014..33cc0bd6b46d 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' =20 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL --=20 2.40.0.windows.1 |
|
Michael D Kinney
Reviewed-by: Michael D Kinney <michael.d.kinney@...>
toggle quoted message
Show quoted text
-----Original Message----- |
|
Michael D Kinney
Merged:
toggle quoted message
Show quoted text
PR: https://github.com/tianocore/edk2/pull/4227 Commit: https://github.com/tianocore/edk2/commit/b4af23aaab8a44341e43713a71cbebf23df2c27d I verified that the caching is enabled and being used. You can view the caches here: https://github.com/tianocore/edk2/actions/caches Mike -----Original Message----- |
|