Create go.yml
This commit is contained in:
parent
19c5ce3f50
commit
b7267badb9
1 changed files with 20 additions and 0 deletions
20
.github/workflows/go.yml
vendored
Normal file
20
.github/workflows/go.yml
vendored
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
name: go
|
||||||
|
on: [push]
|
||||||
|
jobs:
|
||||||
|
|
||||||
|
build:
|
||||||
|
name: build
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
|
||||||
|
- name: set up go
|
||||||
|
uses: actions/setup-go@v1
|
||||||
|
with:
|
||||||
|
go-version: 1.13
|
||||||
|
id: go
|
||||||
|
|
||||||
|
- name: check out
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: vet and build
|
||||||
|
run: go vet ./... && go build
|
Loading…
Reference in a new issue