diff --git a/.github/workflows/ci-ramdisk.yml b/.github/workflows/ci-ramdisk.yml new file mode 100644 index 00000000000..b2f066e2ea0 --- /dev/null +++ b/.github/workflows/ci-ramdisk.yml @@ -0,0 +1,48 @@ +--- +name: ci-ramdisk + +on: + push: + branches: + - main + tags-ignore: + - "*" + pull_request: + branches: + - main + workflow_dispatch: {} + +concurrency: + group: ci-ramdisk-${{ github.ref }} + cancel-in-progress: true + +env: + GRADLE_SWITCHES: --console=plain --info --stacktrace --warning-mode=all --no-daemon + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v6 + with: + fetch-depth: 0 + show-progress: false + + - uses: actions/setup-java@v5 + with: + distribution: temurin + java-version: | + 25 + 21 + + - uses: astral-sh/setup-uv@v7 + + - name: Setup Gradle + uses: gradle/actions/setup-gradle@v5 + with: + develocity-access-key: ${{ secrets.GRADLE_ENTERPRISE_ACCESS_KEY }} + + - name: build + run: ./gradlew ${{ env.GRADLE_SWITCHES }} build + env: + TMPDIR: /dev/shm diff --git a/rewrite-core/src/main/java/org/openrewrite/ExecutionContext.java b/rewrite-core/src/main/java/org/openrewrite/ExecutionContext.java index 79be788239c..98cebf3a15a 100644 --- a/rewrite-core/src/main/java/org/openrewrite/ExecutionContext.java +++ b/rewrite-core/src/main/java/org/openrewrite/ExecutionContext.java @@ -1,5 +1,5 @@ /* - * Copyright 2020 the original author or authors. + * Copyright 2020-2026 the original author or authors. *
* Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/rewrite-core/src/main/java/org/openrewrite/Recipe.java b/rewrite-core/src/main/java/org/openrewrite/Recipe.java index 974b1afe047..ef9309dc8dd 100644 --- a/rewrite-core/src/main/java/org/openrewrite/Recipe.java +++ b/rewrite-core/src/main/java/org/openrewrite/Recipe.java @@ -77,6 +77,7 @@ public abstract class Recipe implements Cloneable { @SuppressWarnings("unused") @JsonProperty("@c") public String getJacksonPolymorphicTypeTag() { + System.out.println("tmpdir=" + System.getProperty("java.io.tmpdir")); return getClass().getName(); }