Skip to content

Bump to Kotlin 2.1.0 #394

Bump to Kotlin 2.1.0

Bump to Kotlin 2.1.0 #394

Workflow file for this run

# This workflow will build a Java project with Gradle and cache/restore any dependencies to improve the workflow execution time
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
name: Kotlin CI with Gradle
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 17
uses: actions/setup-java@v4
with:
java-version: '17'
distribution: 'temurin'
- uses: gradle/actions/setup-gradle@v4
- name: Build with Gradle
run: ./gradlew build
- name: test
run: |
# Create screenshots
./gradlew recordRoborazziDebug -PisRecordingShotTest=true --stacktrace
- name: verify test
id: verify-test
run: |
# If there is a difference between the screenshots, the test will fail.
./gradlew verifyRoborazziDebug -PisRecordingShotTest=false --stacktrace