Add a quick unit test for generating latest versions #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Generate Latest Versions | |
on: | |
push: | |
branches: | |
- main | |
tags-ignore: | |
- "*" | |
pull_request: | |
branches: | |
- main | |
workflow_dispatch: {} | |
schedule: | |
- cron: 0 17 * * * | |
concurrency: | |
group: "ci" | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: Generate Latest Versions | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/setup-java@v4 | |
with: | |
distribution: temurin | |
java-version: 17 | |
- uses: gradle/actions/setup-gradle@v4 | |
# Run generator | |
- uses: actions/checkout@v4 | |
- name: Generate Markdown | |
run: | | |
./gradlew ${{ env.GRADLE_SWITCHES }} latestVersionsMarkdown | |
cat build/docs/latest-versions-of-every-openrewrite-module.md |