Skip to content

use crypto/rand; add function get ChainID by core.ID #190

use crypto/rand; add function get ChainID by core.ID

use crypto/rand; add function get ChainID by core.ID #190

Workflow file for this run

name: test
on:
push:
branches:
- master
pull_request:
jobs:
test:
strategy:
matrix:
containers:
- 1.18.10-bullseye
- 1.19.13-bullseye
- 1.20.13-bullseye
- 1.21.6-bookworm
runs-on: ubuntu-20.04
container: golang:${{matrix.containers}}
steps:
- uses: actions/checkout@v3
- uses: actions/cache@v3
with:
path: |
~/.cache/go-build
/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
- run: go test -race -timeout=60s ./...