Update dependency androidx.constraintlayout:constraintlayout to v2.2.… #1249
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 | |
on: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
check: | |
runs-on: ubuntu-latest | |
timeout-minutes: 120 | |
steps: | |
- name: Setup Java | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'oracle' | |
java-version: '17' | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Validate Gradle Wrapper | |
uses: gradle/wrapper-validation-action@v3 | |
- name: Setup Gradle | |
uses: gradle/actions/setup-gradle@v4 | |
id: gradle | |
with: | |
# Only write to the cache for builds on the 'main' branch. | |
# Builds on other branches will only read existing entries from the cache. | |
gradle-home-cache-cleanup: true | |
cache-read-only: ${{ github.ref != 'refs/heads/main' }} | |
- name: Run check task with build scan | |
run: ./gradlew check --scan |