book: enable Swift Package tests #67
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: Bindings CI | |
on: | |
workflow_dispatch: | |
push: | |
paths: | |
- "bindings/nostr-sdk-ffi/**" | |
pull_request: | |
paths: | |
- "bindings/nostr-sdk-ffi/**" | |
jobs: | |
swift: | |
name: Swift Package | |
runs-on: macos-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install just | |
run: cargo install just | |
- name: Build Swift Package | |
working-directory: bindings/nostr-sdk-ffi | |
run: just swift | |
- name: Test | |
working-directory: bindings/nostr-sdk-ffi/swift | |
run: swift test |