Function alias to use HTTP by default #243
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 | |
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 | |