[fix]: fix the thread leak when suspend #390
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
| # Check for code formatting and license header errors using Spotless | |
| # | |
| # Description: | |
| # Runs Spotless check for pull requests to ensure code formatting consistency, | |
| # proper import ordering, and license headers. | |
| # Fails the build if any violations are found. | |
| # | |
| # Triggers: | |
| # - pull_request | |
| name: Spotless | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| paths: | |
| - 'sdk/**' | |
| - 'sdk-testing/**' | |
| - 'sdk-integration-tests/**' | |
| - 'examples/**' | |
| permissions: | |
| contents: read | |
| jobs: | |
| spotless-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v6 | |
| - name: Set up JDK 17 | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '17' | |
| distribution: 'corretto' | |
| cache: maven | |
| - name: Run Spotless check | |
| run: mvn -B -q spotless:check --file pom.xml |