fix: serialize concurrent DHT RPC exchanges on each cached peer stream #257
Workflow file for this run
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Haskell | |
| uses: haskell-actions/setup@v2 | |
| with: | |
| ghc-version: '9.10.1' | |
| cabal-version: '3.12' | |
| - name: Cache Cabal | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cabal/store | |
| dist-newstyle | |
| key: ${{ runner.os }}-cabal-${{ hashFiles('libp2p-hs.cabal', 'cabal.project') }} | |
| restore-keys: | | |
| ${{ runner.os }}-cabal- | |
| - name: Install dependencies | |
| run: cabal update && cabal build --only-dependencies --enable-tests | |
| - name: Build | |
| run: cabal build all | |
| - name: Test | |
| run: cabal test all --test-show-details=direct |