diff --git a/.github/workflows/client.yml b/.github/workflows/client.yml index 370d72d3..82ca5c42 100644 --- a/.github/workflows/client.yml +++ b/.github/workflows/client.yml @@ -7,29 +7,23 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - - name: Gradle dependency cache - uses: actions/cache@v2 - with: - path: | - ~/.gradle/caches - ~/.gradle/wrapper - key: ${{ runner.os }}-gradle-${{ hashFiles('**/*.gradle*') }} - restore-keys: ${{ runner.os }}-gradle- + - name: Checkout the code + uses: actions/checkout@v3 - name: Android build cache - uses: actions/cache@v2 + uses: actions/cache@v3 with: path: | ~/.android/build-cache key: ${{ runner.os }}-android restore-keys: ${{ runner.os }}-android - - name: Set up JDK 11 - uses: actions/setup-java@v1 + - name: Set up JDK 17 + uses: actions/setup-java@v3 with: + distribution: 'corretto' java-version: 17 + cache: 'gradle' - name: Build run: ./gradlew compileDebugAndroidTestSources check assemble ktlintCheck