mirror of
https://github.com/logos-storage/logos-storage-nim-dht.git
synced 2026-05-18 15:49:54 +00:00
* Add client mode in findNode * Remove clientMode checking in addProvider * Add clientMode check over TalkProtocol * Fix client mode checking * Add register talk protocol unicity check * Add future callback to prevent unbound growth * Fix PR reviews * Use DhtMode * Add clientMode in the Message * Fix minor issues * Add logs * Switch to Nim 2.2.10 on CI * Add client mode even when the value is false * Move the client mode check at the beginning of the proc * Increment version * Replace uint64 by uint32
23 lines
500 B
YAML
23 lines
500 B
YAML
name: CI
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
nim: [2.2.10]
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v4
|
|
- uses: jiro4989/setup-nim-action@v2
|
|
with:
|
|
nim-version: ${{matrix.nim}}
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
- name: Build
|
|
run: nimble install -y
|
|
- name: Test
|
|
run: nimble test -y
|