2020-02-29 11:29:18 +00:00
|
|
|
name: vet-and-build
|
2020-02-29 11:18:25 +00:00
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: build
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2020-02-29 11:29:18 +00:00
|
|
|
- name: set up
|
2020-02-29 11:18:25 +00:00
|
|
|
uses: actions/setup-go@v1
|
|
|
|
with:
|
|
|
|
go-version: 1.13
|
|
|
|
id: go
|
|
|
|
|
|
|
|
- name: check out
|
|
|
|
uses: actions/checkout@v2
|
2020-02-29 11:22:18 +00:00
|
|
|
|
2020-02-29 11:25:23 +00:00
|
|
|
- name: deps
|
|
|
|
run: go get -v -t -d ./...
|
2020-02-29 11:18:25 +00:00
|
|
|
|
2020-02-29 11:29:18 +00:00
|
|
|
- name: vet
|
|
|
|
run: go vet ./...
|
|
|
|
|
|
|
|
- name: build
|
|
|
|
run: go build
|