Fix thread leak caused by eager creation of SentryExecutorService in SentryOptions
#8780
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
| 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@f29f5a9d7b09a7c6b29859002d29d24e1674c884 | |
| - name: Set up Java | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: 'temurin' | |
| java-version: '17' | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| # 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 }} |