You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by co...@apache.org on 2023/01/30 06:49:13 UTC
[shiro] 01/01: Attempting to speedup codeql by caching artifacts
This is an automated email from the ASF dual-hosted git repository.
coheigea pushed a commit to branch coheigea/codeql
in repository https://gitbox.apache.org/repos/asf/shiro.git
commit 8433da68d1b5f6aea33f84eeb41a43da5f6aa5ef
Author: Colm O hEigeartaigh <co...@apache.org>
AuthorDate: Mon Jan 30 06:48:51 2023 +0000
Attempting to speedup codeql by caching artifacts
---
.github/workflows/codeql.yml | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml
index 29a3ce1a..a5f333a3 100644
--- a/.github/workflows/codeql.yml
+++ b/.github/workflows/codeql.yml
@@ -59,6 +59,13 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v3
+ - name: Cache local Maven repository
+ uses: actions/cache@58c146cc91c5b9e778e71775dfe9bf1442ad9a12 #v3.2.3
+ with:
+ path: ~/.m2
+ key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
+ restore-keys: ${{ runner.os }}-m2
+
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2