[HOTFIX] Removed unused print action #18
Workflow file for this run
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: 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 | |