# File managed by web3-bot. DO NOT EDIT.# See https://github.com/protocol/.github/ for details.on:[push,pull_request]jobs:unit:strategy:fail-fast:falsematrix:os:["ubuntu","windows","macos"]go:["1.15.x","1.16.x"]runs-on:${{ matrix.os }}-latestname:Unit tests (${{ matrix.os}}, Go ${{ matrix.go }})steps:-uses:actions/checkout@v2-uses:actions/setup-go@v2with:go-version:${{ matrix.go }}-name:Go informationrun:|go versiongo env-name:Run testsrun:go test -v -coverprofile coverage.txt ./...-name:Run tests (32 bit)if:${{ matrix.os != 'macos' }}# can't run 32 bit tests on OSX.env:GOARCH:386run:go test -v ./...-name:Run tests with race detectorif:${{ matrix.os == 'ubuntu' }}# speed things up. Windows and OSX VMs are slowrun:go test -v -race ./...-name:Upload coverage to Codecovuses:codecov/codecov-action@967e2b38a85a62bd61be5529ada27ebc109948c2# v1.4.1with:file:coverage.txtenv_vars:OS=${{ matrix.os }}, GO=${{ matrix.go }}