Update dependency com.slack.circuit:circuit-foundation to v0.22.2 #595
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: Compile Code | |
on: | |
push: | |
branches: | |
- development | |
pull_request: | |
jobs: | |
compile: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Set Up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Generate local.properties | |
env: | |
LOCAL_PROPERTIES: ${{ secrets.LOCAL_PROPERTIES }} | |
run: echo $LOCAL_PROPERTIES > ./local.properties | |
- name: Setup Gradle | |
uses: gradle/gradle-build-action@v3 | |
with: | |
# Only write to the cache for builds on the 'development' branch | |
cache-read-only: ${{ github.ref != 'refs/heads/development' }} | |
- name: Compile | |
run: | | |
./gradlew compileDebugKotlin | |
./gradlew compileReleaseKotlin | |
env: | |
DANGER_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} |