Skip to content

doc: update readme.md #50

doc: update readme.md

doc: update readme.md #50

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
build:
strategy:
matrix:
go: ['1.17.x', '1.16.x', '1.15.x']
os: [ubuntu-latest, macos-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Set up Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go }}
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Go Format
if: matrix.os == 'ubuntu-latest' && matrix.go == '1.17.x'
run: test -z "$(go fmt ./...)"
- name: Go Vet
if: matrix.os == 'ubuntu-latest' && matrix.go == '1.17.x'
run: test -z "$(go vet ./...)"
- name: Test
run: go test -v ./...
- name: Build
run: go build -v ./...