diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml
new file mode 100644
index 0000000..52c7a43
--- /dev/null
+++ b/.github/workflows/go.yml
@@ -0,0 +1,35 @@
+name: Go
+
+on:
+ - push
+ - pull_request
+
+jobs:
+
+ build:
+ name: Build
+ runs-on: ubuntu-latest
+ steps:
+
+ - name: Set up Go 1.x
+ uses: actions/setup-go@v2
+ with:
+ go-version: ^1.13
+ id: go
+
+ - name: Check out code into the Go module directory
+ uses: actions/checkout@v2
+
+ - name: Get dependencies
+ run: |
+ go get -v -t -d ./...
+ if [ -f Gopkg.toml ]; then
+ curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh
+ dep ensure
+ fi
+
+ - name: Build
+ run: go build -v ./...
+
+ - name: Test
+ run: go test -v ./...
diff --git a/README.md b/README.md
index 79b3fbb..f06b722 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,6 @@
# Topological Sort for arbitrary slices
-[ ![Build Status](https://app.codeship.com/projects/04cf1b10-da68-0134-0795-3a4993b56c58/status?branch=master)](https://app.codeship.com/projects/203652) (master)
-[ ![Build Status](https://app.codeship.com/projects/04cf1b10-da68-0134-0795-3a4993b56c58/status?branch=develop)](https://app.codeship.com/projects/203652) (develop)
+![Build/Test Status](https://github.com/fako1024/topo/workflows/Go/badge.svg)
Introduction
------------