Update checkout action to v4 #30
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: Build and test | |
on: [push, pull_request] | |
jobs: | |
test: | |
name: Build and test | |
runs-on: macOS-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
- name: Debug build | |
run: ./gradlew assembleDebug --stacktrace | |
- name: Unit test | |
run: ./gradlew testDebugUnitTest --stacktrace |