Skip to content

Introduce a cache for Publishers that tracks subscriptions to manage the cache #4045

Introduce a cache for Publishers that tracks subscriptions to manage the cache

Introduce a cache for Publishers that tracks subscriptions to manage the cache #4045

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: Build with Gradle
run: ./gradlew --parallel clean 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'