From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from linux.microsoft.com (linux.microsoft.com [13.77.154.182]) by mx.groups.io with SMTP id smtpd.web11.38270.1680209093027141919 for ; Thu, 30 Mar 2023 13:44:53 -0700 Authentication-Results: mx.groups.io; dkim=fail reason="body hash did not verify" header.i=@linux.microsoft.com header.s=default header.b=sxF4BJP5; spf=pass (domain: linux.microsoft.com, ip: 13.77.154.182, mailfrom: mikuback@linux.microsoft.com) Received: from localhost.localdomain (unknown [47.201.8.94]) by linux.microsoft.com (Postfix) with ESMTPSA id E638620FD8D8; Thu, 30 Mar 2023 13:44:51 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 linux.microsoft.com E638620FD8D8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.microsoft.com; s=default; t=1680209092; bh=GB/EghkMFlQeZDByFDDhb/jFto3H6A6Iu0KEmChpRSg=; h=From:To:Cc:Subject:Date:From; b=sxF4BJP5J1pLn4GpxGxGjXSn06tOmCUzAZSpwG/lAqEQn6r87rHIVN1UCZ02rS4na FBE8aVRRa2kEw+7pmyrOpWEow1SyTPF8EyOHLAgvO9EFseWCw4Cg8Pd6CK6e0Mtylc tZ3vjEQOc9oyE/TSYPCULsraw6xk6VdfhxY/u3F0= From: "Michael Kubacki" To: devel@edk2.groups.io Cc: Sean Brogan , Michael Kubacki , Michael D Kinney Subject: [PATCH v1 1/1] .github/workflows/codeql-analysis.yml: Add PIP caching Date: Thu, 30 Mar 2023 16:44:26 -0400 Message-Id: <20230330204426.1963-1-mikuback@linux.microsoft.com> X-Mailer: git-send-email 2.40.0.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: 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 Cc: Michael Kubacki Cc: Michael D Kinney Signed-off-by: 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