From d9106fb21db2d0159741f075582a788fef2b9c9c Mon Sep 17 00:00:00 2001 From: Daz DeBoer Date: Wed, 7 Dec 2022 17:30:05 +1300 Subject: [PATCH] Use Gradle 7.6 in unit tests --- .github/workflows/ci-quick-check.yml | 2 +- test/jest/cache-cleanup.test.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-quick-check.yml b/.github/workflows/ci-quick-check.yml index 7c4ce04..ac1e174 100644 --- a/.github/workflows/ci-quick-check.yml +++ b/.github/workflows/ci-quick-check.yml @@ -22,7 +22,7 @@ jobs: - name: Configure Gradle as default for unit test uses: ./ with: - gradle-version: 7.5.1 + gradle-version: 7.6 - name: Run tests run: | npm install diff --git a/test/jest/cache-cleanup.test.ts b/test/jest/cache-cleanup.test.ts index bd504cf..315c02e 100644 --- a/test/jest/cache-cleanup.test.ts +++ b/test/jest/cache-cleanup.test.ts @@ -49,7 +49,7 @@ test('will cleanup unused gradle versions', async () => { const gradle733 = path.resolve(gradleUserHome, "caches/7.3.3") const wrapper733 = path.resolve(gradleUserHome, "wrapper/dists/gradle-7.3.3-bin") - const gradleCurrent = path.resolve(gradleUserHome, "caches/7.5.1") + const gradleCurrent = path.resolve(gradleUserHome, "caches/7.6") expect(fs.existsSync(gradle733)).toBe(true) expect(fs.existsSync(wrapper733)).toBe(true)