chore(deps): bump SethCohen/github-releases-to-discord from 1b3dde6c63d699e660bf6e1b5605217b84d700fe to b96a33520f8ad5e6dcdecee6f1212bdf88b16550 #763
Workflow file for this run
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
| # This workflow will build a Java project with Gradle | |
| # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle | |
| name: Pull Request | |
| on: | |
| pull_request: | |
| branches: [ 4.x ] | |
| permissions: | |
| contents: read | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Set up JDK 25 | |
| uses: actions/setup-java@be666c2fcd27ec809703dec50e508c2fdc7f6654 # v5.2.0 | |
| with: | |
| distribution: 'zulu' | |
| java-version: '25' | |
| - name: Cache Gradle packages | |
| uses: actions/cache@668228422ae6a00e4ad889ee87cd7109ec5666a7 # v5.0.4 | |
| with: | |
| path: ~/.gradle/caches | |
| key: ${{ runner.os }}-gradle-1-${{ hashFiles('**/*.gradle') }} | |
| restore-keys: ${{ runner.os }}-gradle-1- | |
| - name: Grant execute permission for gradlew | |
| run: chmod +x gradlew | |
| - name: Run Validity Tests Upfront | |
| run: ./gradlew test --tests "io.reactivex.rxjava4.validators.*" --stacktrace --no-daemon | |
| - name: Build RxJava | |
| run: ./gradlew build --stacktrace | |
| - name: Publish Test Results | |
| uses: EnricoMi/publish-unit-test-result-action@c950f6fb443cb5af20a377fd0dfaa78838901040 # v2.23.0 | |
| if: always() # important: run even if tests failed | |
| with: | |
| files: | | |
| **/build/test-results/**/TEST-*.xml | |
| **/build/test-results/**/*.xml | |
| **/build/test-results/testNG/TEST-*.xml | |
| comment_mode: failures | |
| fail_on: test failures | |
| check_name: "🧪 RxJava Test Results" | |
| report_individual_runs: false | |
| - name: Upload to Codecov | |
| uses: codecov/codecov-action@1af58845a975a7985b0beb0cbe6fbbb71a41dbad # v5.5.3 | |
| - name: Generate Javadoc | |
| run: ./gradlew javadoc --stacktrace |