multi: Make NewMessage() usable for creating messages for reading #1039
Workflow file for this run
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: Go | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
go: [ '1.22', '1.23' ] | |
arch: [ 'amd64', '386' ] | |
name: Go ${{ matrix.go }} GOARCH=${{ matrix.arch }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Set GOARCH | |
run: | | |
echo "GOARCH=${{ matrix.arch }}" >> $GITHUB_ENV | |
- name: Run tests with race detector | |
if: env.GOARCH != '386' | |
run: go test -v -race -short ./... | |
- name: Run all tests | |
run: go test -v ./... | |
- name: Run RPC tests repeatedly | |
run: | | |
cd rpc | |
go test -c | |
for i in `seq 50`; do ./rpc.test; done |