From 0fd7a3e397559a01d3815db4bacbd9756974ceb4 Mon Sep 17 00:00:00 2001 From: Kevin Schoon Date: Sun, 6 Sep 2020 10:56:25 -0500 Subject: [PATCH] add basic github actions workflow --- .github/workflows/pomo.yaml | 26 ++++++++++++++++++++++++++ go.mod | 2 ++ 2 files changed, 28 insertions(+) create mode 100644 .github/workflows/pomo.yaml diff --git a/.github/workflows/pomo.yaml b/.github/workflows/pomo.yaml new file mode 100644 index 0000000..b3e1917 --- /dev/null +++ b/.github/workflows/pomo.yaml @@ -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 diff --git a/go.mod b/go.mod index 7dd2212..7ba0c9f 100644 --- a/go.mod +++ b/go.mod @@ -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