Use GitHub cache for CodeQL

This commit is contained in:
Gary Gregory 2022-09-22 08:43:18 -04:00
parent b5b3cca98b
commit 4ed942fc8c
1 changed files with 6 additions and 0 deletions

View File

@ -43,6 +43,12 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@v3.0.2
- uses: actions/cache@v3.0.8
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: |
${{ runner.os }}-maven-
# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL