Skip to content

First commit

First commit #1

Workflow file for this run

name: Go Unit Tests
on:
push:
branches: [ main, dev ]
pull_request:
branches: [ main, dev ]
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.16
id: go
- name: Checkout code
uses: actions/checkout@v2
- name: Build market
run: go build -v ./...
- name: Test
run: go test -v ./... -coverprofile=cover.out && go tool cover -html=cover.out