gRPC Trailers-Only
responses must be a single HEADERS
frame
#4853
Workflow file for this run
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: PR Quality | |
on: | |
pull_request: | |
branches: [ main, '0.41', '0.42' ] | |
paths-ignore: | |
- 'scripts/**' | |
- '.git.commit.template' | |
- '.gitignore' | |
- 'gradlew' | |
- 'gradlew.bat' | |
- '*.adoc' | |
- '*.txt' | |
jobs: | |
quality: | |
name: JDK ${{ matrix.java }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ 8, 11, 17, 21 ] | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Set up JDK ${{ matrix.java }} | |
uses: actions/setup-java@v4 | |
with: | |
java-version: ${{ matrix.java }} | |
distribution: 'zulu' | |
cache: 'gradle' | |
- name: Print JDK Version | |
run: java -version | |
- name: Make gradlew Executable | |
run: chmod +x gradlew | |
- name: Documentation Linter | |
run: bash scripts/check-source-root.sh | |
- name: Gradle lockfiles validation | |
run: bash scripts/check-lockfiles.sh | |
- name: Clean Gradle project | |
run: ./gradlew --parallel clean | |
- name: Build with Gradle | |
run: ./gradlew --parallel quality | |
- name: Upload CheckStyle Results | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: checkstyle-results-${{ matrix.java }} | |
path: '**/build/reports/checkstyle/*.xml' | |
- name: Upload PMD Results | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: pmd-results-${{ matrix.java }} | |
path: '**/build/reports/pmd/*.xml' | |
- name: Upload SpotBugs Results | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: spotbugs-results-${{ matrix.java }} | |
path: '**/build/reports/spotbugs/*.xml' |