feat(network): fix some network commande #601
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: Build and test | |
| on: [push, workflow_dispatch, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| go-version: [ '1.24.x', '1.25.x', '1.26.x' ] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Setup Go | |
| uses: actions/setup-go@v5 | |
| with: | |
| go-version: ${{ matrix.go-version }} | |
| - name: Install dependencies | |
| run: go get ./... | |
| - name: Check documentation is up to date | |
| run: | | |
| make doc | |
| git diff --exit-code || (echo "Documentation is out of date. Please run 'make doc' and commit the result." && exit 1) | |
| - name: Build binary | |
| run: make | |
| - name: Build WASM binary | |
| run: make wasm | |
| - name: Test with Go | |
| run: make test |