bugfix:当布局中的子View设置点击事件后,点击子View再拖动会导致位置错乱而跳动的问题 #150
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: Android CI | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: set up JDK 11 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '11' | |
distribution: 'adopt' | |
cache: gradle | |
- uses: burrunan/gradle-cache-action@v1 | |
name: Cache gradle | |
- name: Grant execute permission for gradlew | |
run: chmod +x gradlew | |
- name: Detekt Code Style | |
continue-on-error: true | |
run: ./gradlew clean detekt | |
- name: Upload SARIF to Github using the upload-sarif action | |
continue-on-error: true | |
uses: github/codeql-action/upload-sarif@v2 | |
if: success() || failure() | |
with: | |
sarif_file: ${{ github.workspace }}/app/build/reports/detekt/detekt.sarif | |
checkout_path: ${{ github.workspace }} | |
- name: Build with Gradle | |
run: ./gradlew assembleRelease |