Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
48 changes: 48 additions & 0 deletions .github/workflows/ci-ramdisk.yml
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2020 the original author or authors.
* Copyright 2020-2026 the original author or authors.
* <p>
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
1 change: 1 addition & 0 deletions rewrite-core/src/main/java/org/openrewrite/Recipe.java
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}

Expand Down
Loading