Use GitHub cache for CodeQL

This commit is contained in:
Gary Gregory 2022-09-22 08:42:05 -04:00
parent a6ee7188d0
commit 42ce1e9d0e
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