Skip to content

Commit 703c93e

Browse files
committed
Use GitHub cache for CodeQL
1 parent c1e6fec commit 703c93e

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/codeql-analysis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,12 @@ jobs:
4343
steps:
4444
- name: Checkout repository
4545
uses: actions/checkout@v3.0.2
46+
- uses: actions/cache@v3.0.8
47+
with:
48+
path: ~/.m2/repository
49+
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
50+
restore-keys: |
51+
${{ runner.os }}-maven-
4652
4753
# Initializes the CodeQL tools for scanning.
4854
- name: Initialize CodeQL

0 commit comments

Comments
 (0)