Merge pull request #19 from weirdtales/master

add github action: vet and build
This commit is contained in:
Erik Unger 2020-02-29 13:40:42 +01:00 committed by GitHub
commit 306651df1f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

24
.github/workflows/vet-and-build.yml vendored Normal file
View file

@ -0,0 +1,24 @@
name: vet-and-build
on: [push]
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: set up
uses: actions/setup-go@v1
with:
go-version: 1.13
id: go
- name: check out
uses: actions/checkout@v2
- name: deps
run: go get -v -t -d ./...
- name: vet
run: go vet ./...
- name: build
run: go build