Update github actions to v3. (#11931)

This commit is contained in:
Dawid Weiss 2022-11-14 19:50:52 +01:00
parent 0e4d82e121
commit fb1f459dab
3 changed files with 8 additions and 10 deletions

View File

@ -28,9 +28,9 @@ jobs:
os: [ubuntu-latest, macos-latest]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17

View File

@ -27,10 +27,10 @@ jobs:
java: [ '11' ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'adopt-hotspot'
java-version: ${{ matrix.java }}
@ -45,8 +45,6 @@ jobs:
- name: Run gradle check (without tests)
run: ./gradlew check -x test -Ptask.times=true --max-workers 2
# - uses: gradle/wrapper-validation-action@v1
# This runs all tests without any other validation checks.
tests:
name: gradle test (JDK ${{ matrix.java }} on ${{ matrix.os }})
@ -62,10 +60,10 @@ jobs:
java: [ '11' ]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'adopt-hotspot'
java-version: ${{ matrix.java }}

View File

@ -15,10 +15,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v2
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 17