diff --git a/.github/workflows/rewrite.yml b/.github/workflows/rewrite.yml deleted file mode 100644 index 1a228f15bc5..00000000000 --- a/.github/workflows/rewrite.yml +++ /dev/null @@ -1,36 +0,0 @@ -name: Rewrite Tests - -on: - push: - branches: - - 'master' - - '2.4.x' - workflow_dispatch: - schedule: - - cron: '0 0 * * *' -jobs: - Rewrite: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - with: - ref: 2.4.x - - name: Setup Java - uses: actions/setup-java@v4 - with: - java-version: 17 - distribution: 'temurin' - server-id: central - cache: maven - - name: Initial Build - run: ./mvnw install -DskipTests -# - name: Hide core's main -# run: rm -rf core/src/main/java - - name: Apply rewrites - run: | - ./mvnw -e -U org.openrewrite.maven:rewrite-maven-plugin:run \ - -Drewrite.recipeArtifactCoordinates=dev.morphia.morphia:rewrite:3.0.0-SNAPSHOT \ - -Drewrite.activeRecipes=dev.morphia.UpgradeToMorphia30 - - name: Test Compile - run: ./mvnw test-compile \ No newline at end of file