Skip to content

Update dependency versions and publishing setup #74

Update dependency versions and publishing setup

Update dependency versions and publishing setup #74

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 21
uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 21
- name: Debug build
run: ./gradlew assembleDebug --stacktrace
- name: API check
run: ./gradlew apiCheck
- name: Unit test
run: ./gradlew allTests test --stacktrace
env:
IS_CI_TEST: yup
- name: Upload test results
uses: actions/upload-artifact@v4
with:
name: test-results
path: '*/build/reports/tests'