aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2021-01-24 14:29:36 +0100
committerMartin Polden <mpolden@mpolden.no>2021-01-24 14:29:36 +0100
commit0048364531c2df520a512a5969f72aa434c6e752 (patch)
tree28402530722d8a73e15fd59c62576b8b169abbb5
parent964d7a1e68bc97b5eaada1bc89a1242ee555b773 (diff)
build: Configure GitHub Actions
-rw-r--r--.github/workflows/ci.yml21
-rw-r--r--.travis.yml11
-rw-r--r--README.md2
3 files changed, 22 insertions, 12 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
new file mode 100644
index 0000000..59a02ee
--- /dev/null
+++ b/.github/workflows/ci.yml
@@ -0,0 +1,21 @@
+name: ci
+
+on:
+ push:
+ branches: [master]
+ pull_request:
+ branches: [master]
+
+jobs:
+ build:
+ runs-on:
+ - macos-latest
+ - 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 d31c462..0000000
--- a/.travis.yml
+++ /dev/null
@@ -1,11 +0,0 @@
-os:
- - linux
- - osx
-
-language: go
-
-go:
- - stable
-
-env:
- - GO111MODULE=on
diff --git a/README.md b/README.md
index f444c25..d200192 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# unp
-[![Build Status](https://travis-ci.org/mpolden/unp.svg)](https://travis-ci.org/mpolden/unp)
+![Build Status](https://github.com/mpolden/unp/workflows/ci/badge.svg)
`unp` monitors a list of configured directories and automatically verifies and
unpacks multi-volume RAR archives as they are written. A combination of file