Update RelayInfo to reflect current NIP-11 specification (#201) #603
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: Unit Tests | |
on: | |
push: | |
branches: [ "main" ] | |
pull_request: | |
types: [opened, synchronize, reopened] | |
workflow_dispatch: | |
jobs: | |
build-and-test-macos-13: | |
runs-on: macos-13 | |
strategy: | |
matrix: | |
swift: ['5.7', '5.8', '5.9'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Swift | |
uses: SwiftyLab/setup-swift@latest | |
with: | |
swift-version: ${{ matrix.swift }} | |
- name: Build and Test | |
run: | | |
swift build | |
swift test | |
build-and-test-macos-14: | |
runs-on: macos-14 | |
strategy: | |
matrix: | |
swift: ['5.10', '6.0'] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Swift | |
uses: SwiftyLab/setup-swift@latest | |
with: | |
swift-version: ${{ matrix.swift }} | |
- name: Build and Test | |
run: | | |
swift build | |
swift test |