aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2021-01-24 14:27:05 +0100
committerMartin Polden <mpolden@mpolden.no>2021-01-24 14:27:05 +0100
commitad82de0787a198c7eac6a349ae66c9ac27a6ca8c (patch)
tree5a9787869a8acc7d9cde1f580acd74e02ee0172b
parent20eff49454c6150b84e1c6a549050e12a3c0313f (diff)
build: Configure GitHub ActionsHEADmaster
-rw-r--r--.github/workflows/ci.yml19
-rw-r--r--.travis.yml5
-rw-r--r--README.md2
3 files changed, 20 insertions, 6 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 04edda9..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,5 +0,0 @@
-language: go
-
-go:
- - 1.x
- - tip
diff --git a/README.md b/README.md
index 5736d8b..86bf960 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# sfv
-[![Build Status](https://travis-ci.org/mpolden/sfv.svg)](https://travis-ci.org/mpolden/sfv)
+![Build Status](https://github.com/mpolden/sfv/workflows/ci/badge.svg)
sfv is a [Go](http://golang.org) package for verifying
[SFV files](https://en.wikipedia.org/wiki/Simple_file_verification).