Don't run run_scrip/_refresh_token under lock (#4906) #11692
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: Check CI | |
on: | |
pull_request: | |
branches: [ main ] | |
push: | |
branches: [ 'main', 'check/**', 'release/v*' ] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
checks: | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
lfs: true | |
- name: Setup JDK 11 | |
id: setup-java-11 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '11' | |
- name: Setup JDK 17 | |
id: setup-java-17 | |
uses: actions/setup-java@v3 | |
with: | |
distribution: 'temurin' | |
java-version: '17' | |
- name: Set JAVA_HOME | |
run: echo "JAVA_HOME=${{ steps.setup-java-11.outputs.path }}" >> $GITHUB_ENV | |
- name: Setup gradle properties | |
run: | | |
.github/scripts/gradle-properties.sh >> gradle.properties | |
cat gradle.properties | |
- name: Check | |
uses: burrunan/gradle-cache-action@v1 | |
with: | |
job-id: checks | |
arguments: --scan --continue check | |
gradle-version: wrapper | |
- name: Upload Test Results | |
uses: actions/upload-artifact@v3 | |
if: always() | |
with: | |
name: check-ci-results | |
path: | | |
**/build/test-results/** | |
**/build/reports/tests/** | |
- name: Upload JVM Error Logs | |
uses: actions/upload-artifact@v3 | |
if: failure() | |
with: | |
name: check-ci-jvm-err | |
path: | | |
**/*_pid*.log | |
**/core.* | |
if-no-files-found: ignore |