Skip to content

Bump JVM version to 11 #233

Bump JVM version to 11

Bump JVM version to 11 #233

Workflow file for this run

name: Basic tests
on:
pull_request:
push:
branches:
- main
jobs:
test_and_build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v2
with:
java-version: '11'
distribution: 'adopt'
- name: Check code formatting
run: ./gradlew spotlessCheck || echo "❌ Your code is not properly formatted. You can run './gradlew spotlessApply' to format it. 👀"
- name: Detekt
run: ./gradlew detekt
- name: Test and build
run: ./gradlew clean build
- name: Print test results
if: success() || failure()
run: |
echo "\n\n*** Wallet SDK test report ***\n"
cat /home/runner/work/kotlin-wallet-sdk/kotlin-wallet-sdk/wallet-sdk/build/reports/tests/test/index.html