aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2021-01-24 14:22:10 +0100
committerMartin Polden <mpolden@mpolden.no>2021-01-24 14:22:10 +0100
commitf4be39657d205b12e7e664ed4585b0d08d4c12e0 (patch)
treeca8a6c4949a94d79b3118658b7d4cb7d59834816
parent2a53a1ad9133fed790a1c3c289e360d9fbfb6e99 (diff)
build: Configure GitHub Actions
-rw-r--r--.github/workflows/ci.yml19
-rw-r--r--.travis.yml7
-rw-r--r--README.md2
3 files changed, 20 insertions, 8 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..d4aae76
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,19 @@
+name: ci
+
+on:
+ push:
+ branches: [master]
+ pull_request:
+ branches: [master]
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v2
+ - name: install go
+ uses: actions/setup-go@v2
+ with:
+ go-version: 1.15
+ - name: build and test
+ run: make
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644
index 0986ccc..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,7 +0,0 @@
-language: go
-
-go:
- - stable
-
-env:
- - GO111MODULE=on
diff --git a/README.md b/README.md
index 3b0c02c..3c1b099 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# journal
-[![Build Status](https://travis-ci.org/mpolden/journal.svg)](https://travis-ci.org/mpolden/journal)
+![Build Status](https://github.com/mpolden/journal/workflows/ci/badge.svg)
`journal` is a program for storing and displaying financial records.