Author: Kevin Schoon [kevinschoon@gmail.com]
Hash: 0fd7a3e397559a01d3815db4bacbd9756974ceb4
Timestamp: Sun, 06 Sep 2020 15:56:25 +0000 (4 years ago)

+28 -0 +/-2 browse
add basic github actions workflow
1diff --git a/.github/workflows/pomo.yaml b/.github/workflows/pomo.yaml
2new file mode 100644
3index 0000000..b3e1917
4--- /dev/null
5+++ b/.github/workflows/pomo.yaml
6 @@ -0,0 +1,26 @@
7+ name: pomo
8+
9+ on: ["push"]
10+
11+ jobs:
12+
13+ build:
14+ name: build
15+ runs-on: ubuntu-latest
16+ steps:
17+
18+ - name: setup go
19+ uses: actions/setup-go@v2
20+ with:
21+ go-version: ^1.14
22+ id: go
23+
24+ - name: check out
25+ uses: actions/checkout@v2
26+
27+ - name: dependencies
28+ run: |
29+ go get -v -t -d ./...
30+
31+ - name: build
32+ run: make
33 diff --git a/go.mod b/go.mod
34index 7dd2212..7ba0c9f 100644
35--- a/go.mod
36+++ b/go.mod
37 @@ -1,5 +1,7 @@
38 module github.com/kevinschoon/pomo
39
40+ go 1.15
41+
42 require (
43 github.com/0xAX/notificator v0.0.0-20181105090803-d81462e38c21
44 github.com/fatih/color v1.7.0