Skip to content

Merge pull request #52 from Yohan460/updated-structs #57

Merge pull request #52 from Yohan460/updated-structs

Merge pull request #52 from Yohan460/updated-structs #57

Workflow file for this run

name: Golang CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build-and-test:
name: Golang CI - test
runs-on: ubuntu-latest
strategy:
matrix:
go: [1.14.x, 1.15.x]
steps:
- uses: actions/checkout@v2
- name: Set up Golang
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Lint
run: diff -u <(echo -n) <(gofmt -d .)
- name: Build
run: go build ./...
- name: Test
run: go test -v -race ./...