Skip to content

Commit

Permalink
Merge branch 'master' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
fako1024 committed Sep 13, 2020
2 parents 315f095 + c500afa commit 5d58011
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 2 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
@@ -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 ./...
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -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) <sup>(master)</sup>
[ ![Build Status](https://app.codeship.com/projects/04cf1b10-da68-0134-0795-3a4993b56c58/status?branch=develop)](https://app.codeship.com/projects/203652) <sup>(develop)</sup>
![Build/Test Status](https://github.com/fako1024/topo/workflows/Go/badge.svg)

Introduction
------------
Expand Down

0 comments on commit 5d58011

Please sign in to comment.