| 1 | name: Test Generated Java |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | pull_request: |
| 6 | merge_group: |
| 7 | schedule: |
| 8 | - cron: '0 0 1 * *' |
| 9 | |
| 10 | jobs: |
| 11 | test-java: |
| 12 | |
| 13 | runs-on: ubuntu-latest |
| 14 | |
| 15 | concurrency: |
| 16 | group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} |
| 17 | cancel-in-progress: true |
| 18 | |
| 19 | steps: |
| 20 | - uses: actions/checkout@v4 |
| 21 | with: |
| 22 | submodules: recursive |
| 23 | - name: Set up JDK 1.8 |
| 24 | uses: actions/[email protected] |
| 25 | with: |
| 26 | java-version: 8 |
| 27 | distribution: 'zulu' |
| 28 | - name: make only-test-java-files |
| 29 | run: make only-test-java-files EXTERNAL_DEPENDENCIES=1 |
| 30 | - name: make documentation |
| 31 | run: make only-javadoc EXTERNAL_DEPENDENCIES=1 |
| 32 | - uses: actions/upload-artifact@v4 |
| 33 | with: |
| 34 | name: fiat-javadoc |
| 35 | path: fiat-java/doc |