CI: update actions/checkout and actions/setup-java to the latest versions
This commit is contained in:
parent
a529bd0143
commit
3f0fba316d
13
.github/workflows/test.yml
vendored
13
.github/workflows/test.yml
vendored
@ -13,17 +13,12 @@ jobs:
|
||||
name: JDK ${{ matrix.java }}
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
|
||||
- name: Set up JDK
|
||||
uses: actions/setup-java@v1
|
||||
uses: actions/setup-java@9704b39bf258b59bc04b50fa2dd55e9ed76b47a8 # v4.1.0
|
||||
with:
|
||||
java-version: ${{ matrix.java }}
|
||||
- name: Cache local Maven repository
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: ~/.m2/repository
|
||||
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-maven-
|
||||
distribution: 'temurin'
|
||||
cache: maven
|
||||
- name: Test with Maven
|
||||
run: mvn verify -B --file pom.xml
|
||||
|
||||
Loading…
Reference in New Issue
Block a user