From 61e4a25782c236e310fc81964b76684cd579d06f Mon Sep 17 00:00:00 2001 From: daz Date: Mon, 7 Oct 2024 11:34:20 +1000 Subject: [PATCH] Control version of Gradle in PATH for unit tests --- .github/workflows/ci-check-and-unit-test.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/ci-check-and-unit-test.yml b/.github/workflows/ci-check-and-unit-test.yml index 3f41721c..2fb9d440 100644 --- a/.github/workflows/ci-check-and-unit-test.yml +++ b/.github/workflows/ci-check-and-unit-test.yml @@ -23,6 +23,12 @@ jobs: node-version: 20 cache: npm cache-dependency-path: sources/package-lock.json + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v4 # Use a released version to avoid breakages + env: + ALLOWED_GRADLE_WRAPPER_CHECKSUMS: e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 # Invalid wrapper jar used for testing + with: + gradle-version: "8.10.2" - name: Check formatting and compile run: |