randomedit/.github/workflows/build.yml

24 lines
426 B
YAML
Raw Normal View History

2020-02-15 16:58:56 +00:00
---
2020-02-15 17:02:15 +00:00
name: Build
2020-02-15 16:53:42 +00:00
on: [push]
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
2020-02-15 16:58:56 +00:00
- name: Set up Go 1.13
uses: actions/setup-go@v1
with:
go-version: 1.13
id: go
2020-02-15 16:53:42 +00:00
2020-02-15 16:58:56 +00:00
- name: Check out code into the Go module directory
uses: actions/checkout@v2
2020-02-15 16:53:42 +00:00
2020-02-15 16:58:56 +00:00
- name: Get dependencies
run: |
go get -v -t -d ./...
2020-02-15 16:53:42 +00:00
2020-02-15 16:58:56 +00:00
- name: Build
run: make