2019-08-14 10:13:36 +02:00
|
|
|
name: Go
|
2019-08-14 10:20:38 +02:00
|
|
|
on: [push]
|
2019-08-14 10:13:36 +02:00
|
|
|
jobs:
|
|
|
|
|
|
|
|
build:
|
|
|
|
name: Build
|
2019-08-14 10:15:21 +02:00
|
|
|
runs-on: ubuntu-latest
|
2019-08-14 10:13:36 +02:00
|
|
|
steps:
|
|
|
|
|
2019-10-05 21:33:43 +02:00
|
|
|
- name: Set up Go 1.13
|
2019-08-14 10:13:36 +02:00
|
|
|
uses: actions/setup-go@v1
|
|
|
|
with:
|
2019-10-05 21:33:43 +02:00
|
|
|
go-version: 1.13
|
2019-08-14 10:13:36 +02:00
|
|
|
id: go
|
|
|
|
|
|
|
|
- name: Check out code into the Go module directory
|
2019-08-14 10:16:31 +02:00
|
|
|
uses: actions/checkout@master
|
2019-08-14 10:13:36 +02:00
|
|
|
|
|
|
|
- name: Get dependencies
|
|
|
|
run: |
|
|
|
|
go get -v -t -d ./...
|
|
|
|
- name: Build
|
|
|
|
run: go build -v .
|