2019-08-28 23:18:29 +00:00
|
|
|
name: Go
|
2019-08-28 23:20:25 +00:00
|
|
|
on: [push]
|
2019-08-28 23:18:29 +00:00
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
name: Build
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
2020-02-29 21:05:00 +00:00
|
|
|
- name: Set up Go 1.14
|
2019-08-28 23:18:29 +00:00
|
|
|
uses: actions/setup-go@v1
|
|
|
|
with:
|
2020-02-29 21:05:00 +00:00
|
|
|
go-version: 1.14
|
2019-08-28 23:18:29 +00:00
|
|
|
id: go
|
|
|
|
- name: Check out code into the Go module directory
|
|
|
|
uses: actions/checkout@v1
|
|
|
|
- name: Test
|
|
|
|
run: go test -v ./...
|
|
|
|
env:
|
|
|
|
GO111MODULE: on
|
|
|
|
GOPROXY: https://cache.greedo.xeserv.us
|