chore: add release github action

This commit is contained in:
ᴍᴏᴏɴD4ʀᴋ
2020-06-29 15:44:41 +08:00
parent 7712b7ac2c
commit 069f43b8f7
4 changed files with 119 additions and 30 deletions
-30
View File
@@ -1,30 +0,0 @@
name: Go
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
name: Build
runs-on: macos-latest
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v2
with:
go-version: ^1.14
id: go
- name: Check out code into the Go module directory
uses: actions/checkout@v2
- name: Get dependencies
run: |
go get -v -t -d ./...
- name: Build
run: go build -v .