add basic github actions workflow
This commit is contained in:
parent
18b619c7a1
commit
0fd7a3e397
|
@ -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
2
go.mod
|
@ -1,5 +1,7 @@
|
||||||
module github.com/kevinschoon/pomo
|
module github.com/kevinschoon/pomo
|
||||||
|
|
||||||
|
go 1.15
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/0xAX/notificator v0.0.0-20181105090803-d81462e38c21
|
github.com/0xAX/notificator v0.0.0-20181105090803-d81462e38c21
|
||||||
github.com/fatih/color v1.7.0
|
github.com/fatih/color v1.7.0
|
||||||
|
|
Loading…
Reference in New Issue