add basic github actions workflow

This commit is contained in:
Kevin Schoon 2020-09-06 10:56:25 -05:00
parent 18b619c7a1
commit 0fd7a3e397
2 changed files with 28 additions and 0 deletions

26
.github/workflows/pomo.yaml vendored Normal file
View File

@ -0,0 +1,26 @@
name: pomo
on: ["push"]
jobs:
build:
name: build
runs-on: ubuntu-latest
steps:
- name: setup go
uses: actions/setup-go@v2
with:
go-version: ^1.14
id: go
- name: check out
uses: actions/checkout@v2
- name: dependencies
run: |
go get -v -t -d ./...
- name: build
run: make

2
go.mod
View File

@ -1,5 +1,7 @@
module github.com/kevinschoon/pomo
go 1.15
require (
github.com/0xAX/notificator v0.0.0-20181105090803-d81462e38c21
github.com/fatih/color v1.7.0