Auto-update dependencies. #2690
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 | |
- push | |
jobs: | |
build: | |
# TODO: Unpin version once firebase/snippets-android#602 is fixed | |
# https://github.com/firebase/snippets-android/issues/602 | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Check Snippets | |
run: python scripts/checksnippets.py | |
- name: set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 17 | |
distribution: temurin | |
- name: Build with Gradle (Pull Request) | |
run: ./build_pull_request.sh | |
if: github.event_name == 'pull_request' | |
- name: Build with Gradle (Push) | |
run: ./gradlew clean ktlint build | |
if: github.event_name != 'pull_request' |