[GitHub] Modernise tests.yml
@@ -9,16 +9,17 @@ jobs:
steps:
- name: Checkout
- uses: actions/checkout@v1
+ uses: actions/checkout@v3
- - name: Set up JDK 1.11
- uses: actions/setup-java@v1
+ - name: Set up Java
+ uses: actions/setup-java@v3
with:
- java-version: 1.11
+ java-version: '11'
+ distribution: 'temurin'
- name: Cache Maven Repository
id: cache-m2
- uses: actions/cache@v1
+ uses: actions/cache@v3
with:
path: ~/.m2/repository
key: maven-${{ hashFiles('**/pom.xml') }}
