diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index fc3a042..d1a8372 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,17 +28,17 @@ jobs: os: [ubuntu-latest, macOS-latest, windows-latest] steps: - name: Check out - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: submodules: 'true' - name: Cached Konan - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.konan key: ${{ runner.os }}-konan-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} restore-keys: ${{ runner.os }}-konan- - name: Cached Gradle - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ~/.gradle key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }}-${{ hashFiles('**/gradle/wrapper/gradle-wrapper.properties') }} @@ -51,7 +51,7 @@ jobs: echo "ANDROID_NDK_VERSION=25.2.9519653" >> $GITHUB_ENV - name: Cached Android NDK if: matrix.os != 'windows-latest' - uses: actions/cache@v2 + uses: actions/cache@v4 with: path: ${{ format('{0}/ndk/{1}', env.ANDROID_HOME, env.ANDROID_NDK_VERSION) }} key: ${{ runner.os }}-android-ndk-${{ env.ANDROID_NDK_VERSION }} @@ -84,8 +84,9 @@ jobs: run: | echo "skip.android=true" > local.properties - name: Set up JDK 11 - uses: actions/setup-java@v1 + uses: actions/setup-java@v4 with: + distribution: 'temurin' java-version: 11 - name: Check JVM if: matrix.os != 'windows-latest'