Tracing status code fixed (#173) #166
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: Build Master | |
on: | |
push: | |
branches: | |
- "master" | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
task: [ 'postgres', 'cassandra', 'redis', 'kafka', 'openapi', 'codegen-kotlin', 'codegen-java', 'other' ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: JDK 17 setup | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Gradle setup | |
uses: gradle/actions/setup-gradle@v4 | |
with: | |
cache-read-only: ${{ github.ref != 'refs/heads/master' }} | |
gradle-home-cache-cleanup: ${{ github.ref == 'refs/heads/master' }} | |
- name: Gradle ${{ matrix.task }} classes | |
run: ./gradlew classes-${{ matrix.task }} --scan | |
shell: bash | |
- name: Gradle ${{ matrix.task }} javadoc | |
run: ./gradlew javadoc-${{ matrix.task }} --scan | |
shell: bash | |
- name: Gradle ${{ matrix.task }} test classes | |
run: ./gradlew testClasses-${{ matrix.task }} --scan | |
shell: bash | |
- name: Gradle ${{ matrix.task }} test | |
run: ./gradlew test-${{ matrix.task }} --scan | |
shell: bash |