Add Swagger Specification Generation from Annotations (#360) #4
This file contains hidden or 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: Test Java Compatibility | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| java: [ '8', '11', '17', '21' ] | |
| fail-fast: false | |
| max-parallel: 4 | |
| name: Build on Java ${{ matrix.Java }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/[email protected] | |
| - name: Set up JDK ${{ matrix.java }} | |
| uses: actions/[email protected] | |
| with: | |
| java-version: ${{ matrix.java }} | |
| distribution: 'temurin' | |
| - name: Setup Gradle | |
| uses: gradle/[email protected] | |
| - name: Compile and Test | |
| run: ./gradlew build |