1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00

Add BuildTest action

Signed-off-by: Chris Cummer <chriscummer@me.com>
This commit is contained in:
Chris Cummer 2020-05-06 22:31:35 -07:00
parent a5c9494232
commit a631c4ff71

24
.github/workflows/buildtest.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: Build Test
on: [push, pull_request]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Set up Go 1.14
uses: actions/setup-go@v1
with:
go-version: 1.13
- name: Check out source code
uses: actions/checkout@v1
- name: Build
env:
GOPROXY: "https://proxy.golang.org"
run: go build .
- name: Test
env:
GOPROXY: "https://proxy.golang.org"
run: go test -v .