update dependencies and lint #4952
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: PR check | |
on: | |
pull_request: | |
paths: | |
- '**' | |
- '!**.md' | |
- '!.github/**' | |
- '.github/workflows/build_pull_request.yml' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number }} | |
cancel-in-progress: true | |
env: | |
CI_CHUNK_SIZE: 65 | |
IS_PR_CHECK: true | |
jobs: | |
prepare: | |
name: Prepare job | |
runs-on: 'ubuntu-24.04' | |
outputs: | |
matrix: ${{ steps.generate-matrices.outputs.matrix }} | |
delete: ${{ steps.generate-matrices.outputs.delete }} | |
steps: | |
- name: Checkout PR | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up Java | |
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 | |
with: | |
java-version: 17 | |
distribution: temurin | |
- name: Set up Gradle | |
uses: gradle/actions/setup-gradle@0bdd871935719febd78681f197cd39af5b6e16a6 # v4.2.2 | |
with: | |
cache-read-only: true | |
- id: generate-matrices | |
name: Generate build matrices | |
run: | | |
git fetch origin main | |
python ./.github/scripts/generate-build-matrices.py origin/main Debug | |
build: | |
name: Build extensions (${{ matrix.chunk.number }}) | |
needs: prepare | |
runs-on: 'ubuntu-24.04' | |
if: ${{ toJson(fromJson(needs.prepare.outputs.matrix).chunk) != '[]' }} | |
strategy: | |
matrix: ${{ fromJSON(needs.prepare.outputs.matrix) }} | |
steps: | |
- name: Checkout PR | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Set up Java | |
uses: actions/setup-java@7a6d8a8234af8eb26422e24e3006232cccaa061b # v4.6.0 | |
with: | |
java-version: 17 | |
distribution: temurin | |
- name: Set up Gradle | |
uses: gradle/actions/setup-gradle@0bdd871935719febd78681f197cd39af5b6e16a6 # v4.2.2 | |
with: | |
cache-read-only: true | |
- name: Build extensions (${{ matrix.chunk.number }}) | |
run: | | |
./gradlew $(echo '${{ toJson(matrix.chunk.modules) }}' | jq -r 'join(" ")') |