Chore: ship github action
This commit is contained in:
parent
5431e51554
commit
5296f5bebf
1 changed files with 21 additions and 0 deletions
21
.github/workflows/go.yml
vendored
Normal file
21
.github/workflows/go.yml
vendored
Normal file
|
@ -0,0 +1,21 @@
|
|||
name: Go
|
||||
on: [push, pull_request]
|
||||
jobs:
|
||||
|
||||
build:
|
||||
name: Build
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
|
||||
- name: Set up Go 1.12
|
||||
uses: actions/setup-go@v1
|
||||
with:
|
||||
go-version: 1.12
|
||||
id: go
|
||||
|
||||
- name: Check out code into the Go module directory
|
||||
uses: actions/checkout@v1
|
||||
|
||||
- name: Get dependencies
|
||||
run: |
|
||||
go test ./...
|
Loading…
Reference in a new issue