feat(anr): Profile main thread when ANR and report ANR profiles to Sentry #8013
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
| name: Enforce License Compliance | |
| on: | |
| push: | |
| branches: [master, main, release/*] | |
| pull_request: | |
| branches: [master, main] | |
| jobs: | |
| enforce-license-compliance: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup Gradle | |
| uses: gradle/actions/setup-gradle@4d9f0ba0025fe599b4ebab900eb7f3a1d93ef4c2 | |
| - name: Set up Java | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| - name: Checkout | |
| uses: actions/checkout@v5 | |
| # TODO: remove this when upstream is fixed | |
| - name: Disable Gradle configuration cache (see https://github.com/fossas/fossa-cli/issues/872) | |
| run: sed -i 's/^org.gradle.configuration-cache=.*/org.gradle.configuration-cache=false/' gradle.properties | |
| - name: 'Enforce License Compliance' | |
| uses: getsentry/action-enforce-license-compliance@main | |
| with: | |
| skip_checkout: 'true' | |
| fossa_test_timeout_seconds: 3600 | |
| fossa_api_key: ${{ secrets.FOSSA_API_KEY }} |