# File managed by web3-bot. DO NOT EDIT.# See https://github.com/protocol/.github/ for details.on:[push,pull_request]jobs:unit:runs-on:ubuntu-latestname:Go checkssteps:-uses:actions/checkout@v2-uses:actions/setup-go@v2with:go-version:"1.16.x"-name:Install staticcheckrun:go install honnef.co/go/tools/cmd/staticcheck@be534f007836a777104a15f2456cd1fffd3ddee8# v2020.2.2-name:Check that go.mod is tidyrun:|cp go.mod go.mod.origcp go.sum go.sum.origgo mod tidydiff go.mod go.mod.origdiff go.sum go.sum.orig-name:go vetif:${{ success() || failure() }}# run this step even if the previous one failedrun:go vet ./...-name:staticcheckif:${{ success() || failure() }}# run this step even if the previous one failedrun:|set -o pipefailstaticcheck ./... | sed -e 's@\(.*\)\.go@./\1.go@g'