Fix hub restore in async wrappers #6489
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: 'Build' | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
name: Build Job ubuntu-latest - Java 17 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@v4 | |
- name: Setup Java Version | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@3b1b3b9a2104c2b47fbae53f3938079c00c9bb87 # pin@v2 | |
with: | |
gradle-home-cache-cleanup: true | |
- name: Run Tests with coverage and Lint | |
run: make preMerge | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@e0b68c6749509c5f83f984dd99a76a1c1a231044 # pin@v3 | |
with: | |
name: sentry-java | |
fail_ci_if_error: false | |
- name: Upload test results | |
if: always() | |
uses: actions/upload-artifact@v4 | |
with: | |
name: test-results-build | |
path: | | |
**/build/reports/* | |
- name: Test Report | |
uses: phoenix-actions/test-reporting@41efe7ebebe7ef156ef46f6b0acf50ec0f10315b # pin@v12 | |
if: always() | |
with: | |
name: JUnit Build | |
list-suites: 'failed' | |
list-tests: 'failed' | |
path: | | |
**/build/test-results/**/*.xml | |
reporter: java-junit | |
output-to: step-summary | |
fail-on-error: false |