fix(service-disco): extend IP-similarity scoring to IPv6 #9292
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: Examples | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| merge_group: | |
| workflow_dispatch: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| examples: | |
| env: | |
| NIMBLE_COMMIT: 9207e8b2bbdf66b5a4d1020214cff44d2d30df92 # v0.20.1 | |
| timeout-minutes: 30 | |
| strategy: | |
| fail-fast: false | |
| defaults: | |
| run: | |
| shell: bash | |
| name: "Build Examples" | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: true | |
| - name: Setup Nim | |
| uses: "./.github/actions/install_nim" | |
| with: | |
| shell: bash | |
| os: linux | |
| cpu: amd64 | |
| nim_ref: v2.2.10 | |
| - name: Restore deps from cache | |
| id: deps-cache | |
| uses: actions/cache@v5 | |
| with: | |
| path: nimbledeps | |
| # Keep this in sync with ci.yml's cache key so entries are | |
| # reusable. See ci.yml for the rationale on os/cpu/cc scoping. | |
| key: nimbledeps-linux-amd64-gcc-${{ hashFiles('.pinned') }} | |
| - name: Install deps | |
| if: ${{ steps.deps-cache.outputs.cache-hit != 'true' }} | |
| run: | | |
| nimble install_pinned | |
| - name: Build prerequisites | |
| run: make nimble.paths nat_libs | |
| - name: Build and run examples | |
| run: | | |
| nim --version | |
| nimble --version | |
| gcc --version | |
| nimble setup | |
| cd examples && nimble examples |