Skip to content

Reflect repository transfer (#8) #47

Reflect repository transfer (#8)

Reflect repository transfer (#8) #47

Workflow file for this run

name: Build
on:
- push
- pull_request
jobs:
lint:
name: lint
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Check code formatting
run: if [ "$(gofmt -s -l . | wc -l)" -gt 0 ]; then exit 1; fi
- name: Lint
uses: golangci/golangci-lint-action@v2
with:
version: v1.29
test:
strategy:
matrix:
go-version:
- 1.14.x
- 1.15.x
os:
- ubuntu-latest
- macos-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- name: Install Go
uses: actions/setup-go@v2
with:
go-version: ${{ matrix.go-version }}
- name: Checkout code
uses: actions/checkout@v2
- name: Test
run: go test ./...