Update Github Action versions

This commit is contained in:
tastybento 2021-07-09 09:11:41 -07:00
parent 563c52e7a1
commit f96ff088be
1 changed files with 5 additions and 4 deletions

View File

@ -15,17 +15,18 @@ jobs:
with:
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
- name: Set up JDK 16
uses: actions/setup-java@v1
uses: actions/setup-java@v2
with:
java-version: 16
distribution: 'adopt'
java-version: '16'
- name: Cache SonarCloud packages
uses: actions/cache@v1
uses: actions/cache@v2
with:
path: ~/.sonar/cache
key: ${{ runner.os }}-sonar
restore-keys: ${{ runner.os }}-sonar
- name: Cache Maven packages
uses: actions/cache@v1
uses: actions/cache@v2
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}