diff options
author | Martin Polden <mpolden@mpolden.no> | 2021-01-24 14:20:41 +0100 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2021-01-24 14:20:57 +0100 |
commit | b185c4c04ab8174a4165812985f1000f92f375a1 (patch) | |
tree | 07a4d96a3d7cefcb1a2ee11a5ac749d14fcf4025 | |
parent | dbe32e072cd29689aa3b2b56a459ec8c84da43b4 (diff) |
build: Configure GitHub Actions
-rw-r--r-- | .github/workflows/ci.yml | 19 | ||||
-rw-r--r-- | .travis.yml | 7 | ||||
-rw-r--r-- | README.md | 2 |
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 @@ -1,6 +1,6 @@ # ghm -[![Build Status](https://travis-ci.org/mpolden/ghm.svg)](https://travis-ci.org/mpolden/ghm) +![Build Status](https://github.com/mpolden/ghm/workflows/ci/badge.svg) A backup tool for GitHub repositories. |