mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
25 lines
477 B
YAML
25 lines
477 B
YAML
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 .
|