name:Goon:push:branches:[main]pull_request:branches:[main]jobs:build:name:Buildruns-on:ubuntu-lateststeps:-name:Set up Go 1.xuses:actions/setup-go@v2with:go-version:^1.13-name:Check out code into the Go module directoryuses:actions/checkout@v2-name:Get dependenciesrun:|go get -v -t -d ./...if [ -f Gopkg.toml ]; thencurl https://raw.githubusercontent.com/golang/dep/master/install.sh | shdep ensurefi-name:Buildrun:go build -v ./...-name:Testrun:go test -v ./...