[java] fix JSON parsing of numbers with exponent (#16961) #680
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: CI - Lint | ||
| on: | ||
| pull_request: | ||
| push: | ||
| branches: | ||
| - trunk | ||
| workflow_dispatch: | ||
| permissions: {} | ||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
| cancel-in-progress: ${{ github.event_name == 'pull_request' }} | ||
| jobs: | ||
| actionlint: | ||
| name: Validate workflows | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| - name: Validate workflows | ||
| uses: raven-actions/[email protected] | ||
| check-protected: | ||
| name: Check Protected Files | ||
| if: github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork == true | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
| - name: Check for protected files | ||
| uses: dorny/paths-filter@v3 | ||
| id: filter | ||
| with: | ||
| filters: | | ||
| protected: | ||
| - 'scripts/format.sh' | ||
| - 'scripts/github-actions/check-format.sh' | ||
| - name: Fail if Protected | ||
| if: steps.filter.outputs.protected == 'true' | ||
| run: | | ||
| echo "::notice::PR from fork modifies format script" | ||
| exit 1 | ||
| format: | ||
| name: Format | ||
| if: startsWith(github.head_ref, 'renovate/') != true | ||
| uses: ./.github/workflows/bazel.yml | ||
| with: | ||
| name: Check Format | ||
| run: ./scripts/github-actions/check-format.sh | ||
| artifact-name: format-changes | ||
| fork-format-error: | ||
| name: Fork format instructions | ||
| needs: format | ||
| if: failure() && github.event_name == 'pull_request' && github.event.pull_request.head.repo.fork | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Format instructions | ||
| run: | | ||
| echo "::error::Code needs formatting. Run ./scripts/format.sh locally and push changes." | ||
| exit 1 | ||
| commit-fixes: | ||
|
Check failure on line 67 in .github/workflows/ci-lint.yml
|
||
| name: Commit fixes | ||
| needs: format | ||
| if: failure() && github.event_name == 'pull_request' && !github.event.pull_request.head.repo.fork | ||
| uses: ./.github/workflows/commit-changes.yml | ||
| with: | ||
| artifact-name: format-changes | ||
| commit-message: "Auto-format code" | ||
| ref: ${{ github.event.pull_request.head.ref }} | ||