mirror of
https://github.com/aljazceru/breez-sdk-docs.git
synced 2025-12-17 05:44:20 +01:00
Add CI check for Kotlin snippets
This commit is contained in:
20
.github/workflows/main.yml
vendored
20
.github/workflows/main.yml
vendored
@@ -286,6 +286,26 @@ jobs:
|
||||
working-directory: snippets/swift/BreezSDKExamples
|
||||
run: |
|
||||
swift build
|
||||
|
||||
check-kotlin:
|
||||
needs: setup
|
||||
name: Check kotlin MPP snippets
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repo
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Java 17
|
||||
uses: actions/setup-java@v2
|
||||
with:
|
||||
distribution: "temurin"
|
||||
java-version: 17
|
||||
|
||||
- name: Compile Kotlin
|
||||
working-directory: snippets/kotlin_mpp_lib
|
||||
run: |
|
||||
./gradlew build
|
||||
|
||||
|
||||
build:
|
||||
name: Build mdbook
|
||||
|
||||
Reference in New Issue
Block a user