Skip to content

Update github actions #2

Update github actions

Update github actions #2

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