From f270982207520c27ceb457fab98c29caf7d905c7 Mon Sep 17 00:00:00 2001 From: Naomi Plasterer Date: Tue, 23 Jan 2024 07:36:32 -0800 Subject: [PATCH] make ci use java 17 --- .github/workflows/lint.yml | 5 ++++- .github/workflows/test.yml | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index fc8ec6b5e..9084fbd90 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -15,7 +15,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - + - uses: actions/setup-java@v3 + with: + distribution: 'adopt' + java-version: '17' - name: Gradle Run ktlint run: ./gradlew ktlintCheck --continue - uses: actions/upload-artifact@v2 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 352f9428a..09c213249 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -19,7 +19,7 @@ jobs: - uses: actions/setup-java@v3 with: distribution: 'adopt' - java-version: '11' + java-version: '17' - name: Setup Gradle uses: gradle/gradle-build-action@v2 - name: Validate Gradle Wrapper @@ -39,7 +39,7 @@ jobs: - uses: actions/setup-java@v3 with: distribution: 'adopt' - java-version: '11' + java-version: '17' - name: Setup Gradle uses: gradle/gradle-build-action@v2 - name: Validate Gradle Wrapper