Skip to content

Add option to the protoc code generator to avoid generating deprecated code #4711

Add option to the protoc code generator to avoid generating deprecated code

Add option to the protoc code generator to avoid generating deprecated code #4711

Workflow file for this run

name: PR Quality
on:
pull_request:
branches: [ main, '0.41', '0.42' ]
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'