From 119aaa46c53b973f90ada5c38f62fe1c36f4156f Mon Sep 17 00:00:00 2001 From: Daz DeBoer Date: Sat, 25 Mar 2023 12:04:05 -0600 Subject: [PATCH] Use latest patch versions of Gradle --- .github/workflows/ci-quick-check.yml | 2 +- .../com/gradle/gradlebuildaction/BaseInitScriptTest.groovy | 4 ++-- test/jest/cache-cleanup.test.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci-quick-check.yml b/.github/workflows/ci-quick-check.yml index ac1e174..9981deb 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.6 + gradle-version: 7.6.1 - name: Run tests run: | npm install diff --git a/test/init-scripts/src/test/groovy/com/gradle/gradlebuildaction/BaseInitScriptTest.groovy b/test/init-scripts/src/test/groovy/com/gradle/gradlebuildaction/BaseInitScriptTest.groovy index 5b84ccc..61b7c2c 100644 --- a/test/init-scripts/src/test/groovy/com/gradle/gradlebuildaction/BaseInitScriptTest.groovy +++ b/test/init-scripts/src/test/groovy/com/gradle/gradlebuildaction/BaseInitScriptTest.groovy @@ -21,8 +21,8 @@ class BaseInitScriptTest extends Specification { static final TestGradleVersion GRADLE_4_X = new TestGradleVersion(GradleVersion.version('4.10.3'), 7, 10) static final TestGradleVersion GRADLE_5_X = new TestGradleVersion(GradleVersion.version('5.6.4'), 8, 12) static final TestGradleVersion GRADLE_6_NO_BUILD_SERVICE = new TestGradleVersion(GradleVersion.version('6.5.1'), 8, 14) - static final TestGradleVersion GRADLE_6_X = new TestGradleVersion(GradleVersion.version('6.9.3'), 8, 15) - static final TestGradleVersion GRADLE_7_X = new TestGradleVersion(GradleVersion.version('7.6'), 8, 19) + static final TestGradleVersion GRADLE_6_X = new TestGradleVersion(GradleVersion.version('6.9.4'), 8, 15) + static final TestGradleVersion GRADLE_7_X = new TestGradleVersion(GradleVersion.version('7.6.1'), 8, 19) static final TestGradleVersion GRADLE_8_X = new TestGradleVersion(GradleVersion.version('8.0.2'), 8, 19) static final List ALL_VERSIONS = [ diff --git a/test/jest/cache-cleanup.test.ts b/test/jest/cache-cleanup.test.ts index 315c02e..f491608 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.6") + const gradleCurrent = path.resolve(gradleUserHome, "caches/7.6.1") expect(fs.existsSync(gradle733)).toBe(true) expect(fs.existsSync(wrapper733)).toBe(true)