Skip to content

[HOTFIX] Removed unused print action (#163) #20

[HOTFIX] Removed unused print action (#163)

[HOTFIX] Removed unused print action (#163) #20

name: Basic tests
on:
pull_request:
push:
branches:
- main
jobs:
test_and_build:
runs-on: ubuntu-latest-8-cores
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v4
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. 👀" && exit 1)
- 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