Skip to content

Add NetworkByChainID function to return network and blockchain for re… #176

Add NetworkByChainID function to return network and blockchain for re…

Add NetworkByChainID function to return network and blockchain for re… #176

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 ./...